title: How to create a query with multiple conditions in IndexedDB
body: <p>I have a store with multiple indexes I want to query. For the sake of the example, let's assume I have a store of messages with a user_id index and create_date which is timestamp (and let's assume I have indexes - user_id / create_date / user_id, create_date</p>
  
  <p>I know how to query for user by id:</p>
  
  <pre><code>var range = IDBKeyRange.only('123');
  store.index('user_id').openCursor(range).onsuccess= function(e){....};
  </code></pre>
  
  <p>And I know how to query by date:</p>
  
  <pre><code>var range = IDBKeyRange.lowerBound(Date.now()-24 * 60 * 1000))
  store.index('create_data').openCursor(range).onsuccess = function(e){....};
  </code></pre>
  
  <p>Buy I could not figure out how to query both together. I know that I can use JS parse the results for either of the 2, but I wanted to know if it's possible to do this using IDB.</p>
  
  <hr>
  
  <p>edit - the pseudo-query I want to do is </p>
  
  <pre><code>user_id=123 AND create_date &lt; (NOW() - 24 * 60 * 1000)
  </code></pre>
  
  <p>Thanks!</p>