Skip to content

Commit 9900dfc

Browse files
committed
feat(frontend): fix postgres conditions
1 parent cae2e58 commit 9900dfc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

frontend/src/pages/storage-unit/explore-storage-unit.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,11 @@ export const ExploreStorageUnit: FC = () => {
194194
case DatabaseType.MySql:
195195
case DatabaseType.Sqlite3:
196196
case DatabaseType.MariaDb:
197-
return ["=", ">=", ">", "<=", "<"];
197+
return [
198+
"=", ">=", ">", "<=", "<", "<>", "!=", "!>", "!<", "BETWEEN", "NOT BETWEEN",
199+
"LIKE", "NOT LIKE", "IN", "NOT IN", "IS NULL", "IS NOT NULL", "AND", "OR",
200+
"NOT"
201+
];
198202
case DatabaseType.ElasticSearch:
199203
return [
200204
"match", "match_phrase", "match_phrase_prefix", "multi_match", "bool",

0 commit comments

Comments
 (0)