title: Doctrine DBAL setParameter() with array value
body: <p>I'm using doctrine DBAL and have some problem with SQL query as result of a queryBuilder.</p>
  
  <pre><code>$builder = $this-&gt;getConnection()-&gt;getQueryBuilder();
  $builder-&gt;select(['id','name','type'])
           -&gt;from('table')
           -&gt;where('id='.(int)$value)
           -&gt;setMaxResults(1);
  $builder-&gt;andWhere($builder-&gt;expr()-&gt;in('type', ['first','second']));
  
  echo(builder-&gt;getSQL());
  
  $data = $builder-&gt;execute()-&gt;fetchRow();
  </code></pre>
  
  <p>And get SQL</p>
  
  <pre><code>SELECT id, name, type FROM table WHERE (id=149) AND (type IN (first,second)) LIMIT 1
  </code></pre>
  
  <p>And this is the problem, I need that (type IN (first,second)) was encoded as strings like (type IN ('first','second'))</p>
  
  <p>How to do that with query builder in the right way?</p>