title: How to query the database with a list of key-value pairs
body: <p>Say I have the a table with 3 columns : Id, Category, Name.</p>
  
  <p>I would like to query the table that way :
  Get me the rows for which
  <code>{ Category = "Cat1" AND Name = "ABC" }</code> OR <code>{ Category = "Cat2" AND Name = "ABC" }</code> OR <code>{ Category = "Cat2" AND Name = "DEF" }</code></p>
  
  <p>How? Without having to resort to a huge list of <code>WHERE OR</code>
  I was thinking of using <code>IN</code>...but is it possible to use that in conjunction with 2 columns?</p>
  
  <p>Thanks!</p>