title: Node-mysql: How to select with multiple OR in WHERE clause? How to create a query?
body: <p>I receive such an array:</p>
  
  <pre><code>[1,2,3,4,5];
  </code></pre>
  
  <p>And I need to implement a query that has many <code>OR</code>s in <code>WHERE</code> clause. I take values from my array. It looks like this:</p>
  
  <pre><code>SELECT foo, bar FROM tbl WHERE (a.bar = 1 OR a.bar = 2 OR a.bar = 3 ... and so on)
  </code></pre>
  
  <p>How may I create such a <code>WHERE</code> part in node-mysql? Or how to pass it parameters?</p>