title: SQLite vs LocalStorage
body: <p>I am using Ionic 2.</p>
  
  <p>I have a simple Chat App which uses Meteor to sync the messages  between users. At this stage, all messages are stored on the server in a <code>Mongodb</code> database. It works perfectly.</p>
  
  <p>I do however, want to store the messages on the uses local device rather, once downloaded from the server, much like <code>WhatsApp</code> does.</p>
  
  <p><strong>Question</strong></p>
  
  <p>Should I user <strong>Local Storage</strong> or <strong>SQLite</strong>?</p>
  
  <p>I am leaning towards <strong>Local Storage</strong> because the object I save are pretty simple (just a <code>key</code> and a <code>string</code>). </p>
  
  <p><strong>Local Storage</strong>
  I plan to save the messages in simple <code>JSON</code> with a key.</p>
  
  <p><strong>SQLite</strong>
  I have never used this before, but understand normal SQL.</p>