title: Npm mysql - can't I query WHERE conditions using a single object?
body: <p>I am using express and npm mysql (<a href="https://www.npmjs.com/package/mysql" rel="nofollow noreferrer">Link</a>)</p>
  
  <p>I want to do a call using  </p>
  
  <pre><code>query('SELECT * FROM TABLE WHERE ?', where, cb)
  </code></pre>
  
  <p>where is a javascript object f.e. : {col1: 'one', col2: 'two'}</p>
  
  <p>But it seems that this doesn't work. It works for SET though to update multiple columns at once.</p>
  
  <p>I want a general method where I can send a different combination of columns to search. I was wondering if there is a built in method to do this.</p>