Groups
Groups
Sign in
Groups
Groups
JStORM-users
Conversations
About
Send feedback
Help
setting path in AIR
0 views
Skip to first unread message
satts
unread,
Oct 6, 2008, 4:12:26 AM
10/6/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JStORM-users
How do I set datbase path inside the config file for the database
connection 2 happen
urielka
unread,
Oct 6, 2008, 3:01:59 PM
10/6/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JStORM-users
you need to set the JStORM.connections like this:
JStORM.connections =
{
"default":
{
PROVIDER:"AIR",
DIALECT:"SQLite",
PATH:"mydb.sqlite"
}
};
this we create a connection labeled "default",note that path is
relative to application root.
satts
unread,
Oct 7, 2008, 5:46:58 AM
10/7/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JStORM-users
thanks Urielka
Reply all
Reply to author
Forward
0 new messages