title: how do I force PouchDB to really delete records?
body: <p>I am creating a PouchDb like so :</p>
  
  <pre><code>var db = new PouchDB('my_db', 
          { auto_compaction: true, revs_limit: 1, adapter: 'websql' });
  </code></pre>
  
  <p>Then I create and delete a number of records :</p>
  
  <pre><code>db.put({ _id: '1'});
  db.put({ _id: '2'});
  db.put({ _id: '3'});
  
  db.get('1')
  .then(function(doc) {
      db.remove(doc)
  });
  
  db.get('2')
  .then(function(doc) {
      db.remove(doc)
  });
  
  db.get('3')
  .then(function(doc) {
      db.remove(doc)
  });
  </code></pre>
  
  <p>From my reading of the documentation, this is the correct way to <a href="https://pouchdb.com/guides/updating-deleting.html" rel="noreferrer">delete</a> and <a href="https://pouchdb.com/guides/compact-and-destroy.html" rel="noreferrer">remove</a> records.<br>
  And this SO <a href="https://stackoverflow.com/questions/28630153/how-can-i-delete-pouchdb-database-indefinitly-to-free-space">question</a> and <a href="https://stackoverflow.com/questions/28630153/how-can-i-delete-pouchdb-database-indefinitly-to-free-space/28631647#28631647">answer</a> seems to suggest also that this is the way to do things.     </p>
  
  <p>However, if I use the Chrome inspector to look at my Web SQL DB, the records are still there :</p>
  
  <p><a href="https://i.stack.imgur.com/KerkT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KerkT.png" alt="The records are still visible in my Web SQL database"></a></p>
  
  <p><em>I don't believe this is not a timing issue or anything like that, as I can refresh with just the delete code and then get a 404 not_found error</em></p>
  
  <hr>
  
  <p>My application creates and keeps records in a local pouchDb until they have been synced to central server, at which time I want to clear them from the local database.<br>
  I'm creating lots of records and if I cannot clear them out then eventually I'm going to run out of space on the device (it is hybrid HTML5 mobile app).</p>
  
  <h3>Is it even possible to actually remove records from a local PouchDB?</h3>
  
  <h3>If so, how do I do it?</h3>
  
  <h3>If not, what is a good solution that I can easily swap in place of PouchDB?</h3>
  
  <p>(I'm really hoping it is possible because I've gone down this path of development, so if the answer to the first question is No, then I need a good answer to the third question)</p>