mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 14:56:00 +00:00
fix
This commit is contained in:
@@ -28,6 +28,7 @@ export function evaluateCondition(condition: Condition, values) {
|
|||||||
case '=':
|
case '=':
|
||||||
return left == right;
|
return left == right;
|
||||||
case '!=':
|
case '!=':
|
||||||
|
case '<>':
|
||||||
return left != right;
|
return left != right;
|
||||||
case '<=':
|
case '<=':
|
||||||
return left <= right;
|
return left <= right;
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ export interface UnaryCondition {
|
|||||||
|
|
||||||
export interface BinaryCondition {
|
export interface BinaryCondition {
|
||||||
conditionType: 'binary';
|
conditionType: 'binary';
|
||||||
operator: '=' | '!=' | '<' | '>' | '>=' | '<=';
|
operator: '=' | '!=' | '<>' | '<' | '>' | '>=' | '<=';
|
||||||
left: Expression;
|
left: Expression;
|
||||||
right: Expression;
|
right: Expression;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user