title: "WHERE x IN y" clause with dapper and postgresql throwing 42601: syntax error at or near \"$1\"
body: <p>I have an array of strings, and I'd like to have a query containing an IN clause, like:</p>
  
  <pre><code>"... WHERE t.name IN ('foo', 'bar', 'baz')..&gt;"
  </code></pre>
  
  <p>Here's the final bit of my query, which contains a "where X in Y" clause:</p>
  
  <pre><code>...
  left join genre_tag_band_join tj on hb.id = tj.band_id or ob.id = tj.band_id
  left join genre_tags t on tj.genre_tag_id = t.id
  inner join venues v on e.venue_id = v.id
  
  where t.name IN @tagsParam...
  </code></pre>
  
  <p>I make a Dapper call like this</p>
  
  <pre><code>var shows = con.Query&lt;Event, Band, Band, GenreTag, Venue, Event&gt;(query, (e, hb, ob, gt, v) =&gt;
  {
      Event show;
      ...
      return e;
  },
  new { tagsParam = tagsArr}).AsQueryable();
  </code></pre>
  
  <p>where tagsArr is a string[].</p>
  
  <p>I get exception: </p>
  
  <blockquote>
    <p>{"42601: syntax error at or near \"$1\""}</p>
  </blockquote>