mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-24 21:05:59 +00:00
mongo filtering via sql tree
This commit is contained in:
@@ -79,6 +79,11 @@ export interface TestCondition extends UnaryCondition {
|
||||
conditionType: 'isNull' | 'isNotNull' | 'isEmpty' | 'isNotEmpty';
|
||||
}
|
||||
|
||||
export interface SpecificPredicateCondition extends UnaryCondition {
|
||||
conditionType: 'specificPredicate';
|
||||
predicate: string;
|
||||
}
|
||||
|
||||
export interface CompoudCondition {
|
||||
conditionType: 'and' | 'or';
|
||||
conditions: Condition[];
|
||||
@@ -135,7 +140,8 @@ export type Condition =
|
||||
| InCondition
|
||||
| NotInCondition
|
||||
| RawTemplateCondition
|
||||
| AnyColumnPassEvalOnlyCondition;
|
||||
| AnyColumnPassEvalOnlyCondition
|
||||
| SpecificPredicateCondition;
|
||||
|
||||
export interface Source {
|
||||
name?: NamedObjectInfo;
|
||||
|
||||
Reference in New Issue
Block a user