title: Phonegap: WebSql or SqLite?
body: <p>I have been working with phonegap for little time, and i'm having  some trouble with the concept of storage in it.</p>
  
  <p>So, the documentation states that there is this database that you can open, and it is a SQLite implementation."window.openDatabase returns a new Database object.</p>
  
  <p>This method will create a new SQL Lite Database and return a Database object. Use the Database Object to manipulate the data."
  <a href="http://docs.phonegap.com/en/2.2.0/cordova_storage_storage.md.html#Database" rel="nofollow noreferrer">http://docs.phonegap.com/en/2.2.0/cordova_storage_storage.md.html#Database</a>
  I'm using it at my webApp right now:</p>
  
  <pre><code>var myBuggedDb = window.openDatabase(shortName, version, displayName,maxSize);
  </code></pre>
  
  <p>It works like a charm. I can use it to make queries, from selects to delete's. All good, right? But when i inspect and debug my code, i see that what is created is a WebSql database. I have also consulted a lot of blogs, wiki's and other places to get more info about the topic. It seens a lot of people make a mess out of both techs. Phonegap Plugin page doesn't even have the sqlite plugin.</p>
  
  <p>And now, we are going to change our app so it takes from a localStorage a JSON object and converts it. I want to insert it into our database. But now i'm confused, i don't know if this is webSql or SQLite. Could someone clarify? Will it work as a SQLite or as a WebSql after all, on the device?</p>
  
  <p>EDIT: If you are looking for this question in the future, tread carefully: The technologies have changed a lot, indexedDB support is growing, there are many other options as well, like Lawchair and such. Do a little research before using anything!</p>