Skip to content

Commit 991ee87

Browse files
committed
feat: add ILIKE filter method to Filters class
1 parent e6bc3dc commit 991ee87

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adminforth/types/Back.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,9 @@ export class Filters {
11561156
static LIKE(field: string, value: any): IAdminForthSingleFilter {
11571157
return { field, operator: AdminForthFilterOperators.LIKE, value };
11581158
}
1159+
static ILIKE(field: string, value: any): IAdminForthSingleFilter {
1160+
return { field, operator: AdminForthFilterOperators.ILIKE, value };
1161+
}
11591162
static AND(
11601163
...args: (IAdminForthSingleFilter | IAdminForthAndOrFilter | Array<IAdminForthSingleFilter | IAdminForthAndOrFilter>)[]
11611164
): IAdminForthAndOrFilter {

0 commit comments

Comments
 (0)