title: How to use sqlx to query mysql IN a slice?
body: <p>I want to query a table in mysql database for values <code>IN</code> a slice:</p>
  
  <pre><code>var qids []int
  //fill qids dynamically
  err = database.SQL.Select(&amp;quotes,
      "SELECT * FROM quote WHERE qid IN $1", qids)
  if err != nil {
      log.Println(err)
  }
  </code></pre>
  
  <p>But I get this error:</p>
  
  <pre><code>sql: converting Exec argument #0's type: unsupported type []int, a slice
  quotes []
  </code></pre>
  
  <p>How can I fix this? </p>