Files
evento/node_modules/kysely/dist/esm/parser/unary-operation-parser.d.ts
2026-03-18 14:55:56 -03:00

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;