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