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

17 lines
598 B
TypeScript

import type { OperationNode } from './operation-node.js';
import { IdentifierNode } from './identifier-node.js';
export interface CheckConstraintNode extends OperationNode {
readonly kind: 'CheckConstraintNode';
readonly expression: OperationNode;
readonly name?: IdentifierNode;
}
type CheckConstraintNodeFactory = Readonly<{
is(node: OperationNode): node is CheckConstraintNode;
create(expression: OperationNode, constraintName?: string): Readonly<CheckConstraintNode>;
}>;
/**
* @internal
*/
export declare const CheckConstraintNode: CheckConstraintNodeFactory;
export {};