I know that a question like this already exists in: How to pass parameter to sql 'in' statement?
but the answers didn't help me, so I am asking for your guidance.
How do you pass a string array as parameter to a Npgsql statement? Let's say the statement goes something like this:
string[] names = new string[] { "one", "two" };
Adapter.SelectCommand.CommandText("Select something.name from something (a lot of inner joins) where something_else.name in (:names) group by something.name having count(*)=2; ");