title: dexie js bulkDelete - argument keys – array or object
body: <p>The dexie js documentation says about the bulk delete syntax:</p>
  
  <p><a href="https://dexie.org/docs/Table/Table.bulkDelete()" rel="nofollow noreferrer">https://dexie.org/docs/Table/Table.bulkDelete()</a></p>
  
  <pre><code>db.table.bulkDelete(keys)
  </code></pre>
  
  <p>I don't understand what keys means in this context? Only an array of primary keys or can also objects get passed like the following example where parent_id is an indexed property?</p>
  
  <p>e.g. schema</p>
  
  <pre><code>db.version(1).stores({nodes: "++id,parent_id, name"});
  </code></pre>
  
  <p>and then do bulk delete like this</p>
  
  <pre><code>db.table.bulkDelete({parent_id: 3, parent_id: 4})
  </code></pre>