use of org.nutz.dao.Condition in project nutz by nutzam.
the class CndTest method test_in_by_str_array.
@Test
public void test_in_by_str_array() {
Condition c = Cnd.where("nm", "iN", Lang.array("'A'", "B"));
String exp = "WHERE nm IN ('''A''','B')";
assertEquals(exp, c.toSql(null).trim());
}