14 lines
655 B
TypeScript
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;
|