My query is like this:
select * from plat_customs_complex
where (code_t,code_s)
in (('01013090','10'),('01029010','90'));
It runs well in psql console. My question is how to perform this query in client code.(via C# or Java)
And I already know the following code works well(C#):
string[] codeT = new string[]{"01013090","01029010"};
connection.Query("SELECT * FROM plat_customs_complex WHERE code_t=ANY(@CodeT)",
new { CodeT = codeT });