setting path in AIR

0 views
Skip to first unread message

satts

unread,
Oct 6, 2008, 4:12:26 AM10/6/08
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 PM10/6/08
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 AM10/7/08
to JStORM-users
thanks Urielka
Reply all
Reply to author
Forward
0 new messages