add regex operators
This commit is contained in:
1 parent
67626652f9
commit
f2cf071523
59 files changed
+136
-2
No files matched your search
@@ -89,6 +89,10 @@ function mapFilter(column: string, operator: string, name: string, type: string
|
||||
return `${table}.${column} ilike ${value}`;
|
||||
case OPERATORS.doesNotContain:
|
||||
return `${table}.${column} not ilike ${value}`;
|
||||
case OPERATORS.regex:
|
||||
return `${table}.${column} ~ ${value}`;
|
||||
case OPERATORS.notRegex:
|
||||
return `${table}.${column} !~ ${value}`;
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user