facebook

How to close database connection

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #326813 Reply

    leopan
    Member

    Edit: move to getting help forum by support-octavio

    Hello,
    sorry I haven’t a good english, i hope then understand me. I would like to know how to close a database connection. This is the function for open a db connection

    function ApriDb()
    {
    if (window.openDatabase)
    {
    db = openDatabase(“nome database”, “1.0”, “descrizione”, 400000);
    if (!db)
    alert(“Impossibile aprire il database del dispositivo.”);
    }
    else
    alert(“Impossibile accedere al database.”);
    }

    for close this connection there is an instruction as
    “closeDatabase” or “db.close();” ?

Viewing 1 post (of 1 total)
Reply To: How to close database connection

You must be logged in to post in the forum log in