mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
support NOT IN
This commit is contained in:
@@ -80,4 +80,10 @@ public class ConditionTest {
|
||||
final Condition age = Condition.parse("age", "in 1,2,3");
|
||||
Assertions.assertEquals("age IN (?,?,?)", age.toString());
|
||||
}
|
||||
|
||||
@Test
|
||||
void notInTest() {
|
||||
final Condition age = Condition.parse("age", "not in 1,2,3");
|
||||
Assertions.assertEquals("age NOT IN (?,?,?)", age.toString());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user