9 lines
697 B
TypeScript
9 lines
697 B
TypeScript
import { type UnaryOperator } from '../operation-node/operator-node.js';
|
|
import { UnaryOperationNode } from '../operation-node/unary-operation-node.js';
|
|
import type { ExpressionOrFactory } from './expression-parser.js';
|
|
import { type ReferenceExpression } from './reference-parser.js';
|
|
export type ExistsExpression<DB, TB extends keyof DB> = ExpressionOrFactory<DB, TB, any>;
|
|
export declare function parseExists(operand: ExistsExpression<any, any>): UnaryOperationNode;
|
|
export declare function parseNotExists(operand: ExistsExpression<any, any>): UnaryOperationNode;
|
|
export declare function parseUnaryOperation(operator: UnaryOperator, operand: ReferenceExpression<any, any>): UnaryOperationNode;
|