@@ -35,12 +35,14 @@ func TestCond(t *testing.T) {
35
35
"$$a LIKE $0" : func () string { return newTestCond ().Like ("$a" , "%Huan%" ) },
36
36
"$$a ILIKE $0" : func () string { return newTestCond ().ILike ("$a" , "%Huan%" ) },
37
37
"$$a NOT LIKE $0" : func () string { return newTestCond ().NotLike ("$a" , "%Huan%" ) },
38
+ "$$a NOT ILIKE $0" : func () string { return newTestCond ().NotILike ("$a" , "%Huan%" ) },
38
39
"$$a IS NULL" : func () string { return newTestCond ().IsNull ("$a" ) },
39
40
"$$a IS NOT NULL" : func () string { return newTestCond ().IsNotNull ("$a" ) },
40
41
"$$a BETWEEN $0 AND $1" : func () string { return newTestCond ().Between ("$a" , 123 , 456 ) },
41
42
"$$a NOT BETWEEN $0 AND $1" : func () string { return newTestCond ().NotBetween ("$a" , 123 , 456 ) },
42
43
"(1 = 1 OR 2 = 2 OR 3 = 3)" : func () string { return newTestCond ().Or ("1 = 1" , "2 = 2" , "3 = 3" ) },
43
44
"(1 = 1 AND 2 = 2 AND 3 = 3)" : func () string { return newTestCond ().And ("1 = 1" , "2 = 2" , "3 = 3" ) },
45
+ "NOT 1 = 1" : func () string { return newTestCond ().Not ("1 = 1" ) },
44
46
"EXISTS ($0)" : func () string { return newTestCond ().Exists (1 ) },
45
47
"NOT EXISTS ($0)" : func () string { return newTestCond ().NotExists (1 ) },
46
48
"$$a > ANY ($0, $1)" : func () string { return newTestCond ().Any ("$a" , ">" , 1 , 2 ) },
0 commit comments