Close SQLite Database?


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

function onAppQuit()


     if (isRhoElements)


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




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 up!
Vote down!

Points: 0

You voted ‘up’

Log in to post comments