Synchronous and asynchronous operations in Sqlite titanium update tutorial

Asked By 50 points N/A Posted on -
qa-featured

Where can one find an sqlite titanium update tutorial that has both the synchronous and asynchronous operations and on each side, what are the codes used to open and close a connection? 

 
SHARE
Answered By 0 points N/A #141899

Synchronous and asynchronous operations in Sqlite titanium update tutorial

qa-featured

To open a connection on sqlite titanium database use the following instruction

var dbase = Titanium.Database.open('session_db');  

and to close the connection use

dbase.close();

Where dbase is the name of the database you want to create.

Regarding the tutorial you can't find a complete tutorial but you can find a tutorial on any operation whether it is synchronous or asynchronous with a simple Google search.

 

Related Questions