name" VARCHAR(255) NOT NULL,); 现在我想要找到那些在数组['tag1', 'tag2']中命名的标记,我可以在传统的SQL IN或ANY运算符中执行此操作,也可以在postgres中使用数组运算, approach1:数组包含运算符 select * from tag where ARRAY[name] <@ '{"tag1","tag2* from tag whe
这可能是的副本connection.execute("delete from table where id in @ids", new { ids = new int[]{1,2即使我这样做了:
connection.Query<a>("select * from a where a_id in @ids", new { ids = new int[] { 12, 13 } }select * from a where a_id in ((array12,13)