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

14 lines
655 B
TypeScript

import type { OperationNodeSource } from '../operation-node/operation-node-source.js';
import type { CheckConstraintNode } from '../operation-node/check-constraint-node.js';
export declare class CheckConstraintBuilder implements OperationNodeSource {
#private;
constructor(node: CheckConstraintNode);
/**
* Simply calls the provided function passing `this` as the only argument. `$call` returns
* what the provided function returns.
*/
$call<T>(func: (qb: this) => T): T;
toOperationNode(): CheckConstraintNode;
}
export type CheckConstraintBuilderCallback = (builder: CheckConstraintBuilder) => CheckConstraintBuilder;