Using SQL IN statement within Query Library

If you are passing an array to a Postgres DB, you don't want to use IN you want to use = ANY() along the lines of select * from table where id = ANY({{array}}).

You can certainly use the .map() approach as well, but putting this here in case others come across the question.