@@ -194,6 +194,18 @@ public function testNotLike(string $input, bool $isLiteral): void {
194194 );
195195 }
196196
197+ public function testILike (): void {
198+ // iLike is implemented using lower() on both sides, so we just verify it returns a string
199+ $ result = $ this ->expressionBuilder ->iLike ('test ' , 'value ' );
200+ $ this ->assertIsString ($ result );
201+ }
202+
203+ public function testNotILike (): void {
204+ // notILike is implemented using notLike with lower() on both sides, so we just verify it returns a string
205+ $ result = $ this ->expressionBuilder ->notILike ('test ' , 'value ' );
206+ $ this ->assertIsString ($ result );
207+ }
208+
197209 public static function dataIn (): array {
198210 return [
199211 ['value ' , false ],
@@ -294,6 +306,10 @@ public static function dataClobComparisons(): array {
294306 ['like ' , 'under\_% ' , IQueryBuilder::PARAM_STR , false , 1 ],
295307 ['notLike ' , '%5% ' , IQueryBuilder::PARAM_STR , false , 8 ],
296308 ['notLike ' , '%5% ' , IQueryBuilder::PARAM_STR , true , 6 ],
309+ ['iLike ' , '%5% ' , IQueryBuilder::PARAM_STR , false , 3 ],
310+ ['iLike ' , '%5% ' , IQueryBuilder::PARAM_STR , true , 1 ],
311+ ['notILike ' , '%5% ' , IQueryBuilder::PARAM_STR , false , 8 ],
312+ ['notILike ' , '%5% ' , IQueryBuilder::PARAM_STR , true , 6 ],
297313 ['in ' , ['5 ' ], IQueryBuilder::PARAM_STR_ARRAY , false , 3 ],
298314 ['in ' , ['5 ' ], IQueryBuilder::PARAM_STR_ARRAY , true , 1 ],
299315 ['notIn ' , ['5 ' ], IQueryBuilder::PARAM_STR_ARRAY , false , 8 ],
0 commit comments