Close SQLite Database?

Hi,

If opened SQLite database in app, when app quit, should I close database? which API should be used?

function onAppQuit()

{

     if (isRhoElements)

     {

          // closedatabase(); ???????

          application.quit();

     }

}

Thank you,

Max Ma.

Anonymous (not verified)
You do not need to close the

You do not need to close the database, WebSQL implementation of sqlite does not have it.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments