Files
Ammaar Reshi d6025af146 Initial commit
2025-01-04 14:06:53 +00:00

19 lines
613 B
TypeScript

import { entityKind } from "../entity.js";
import type { SQL } from "../sql/sql.js";
import type { MySqlTable } from "./table.js";
export declare class CheckBuilder {
name: string;
value: SQL;
static readonly [entityKind]: string;
protected brand: 'MySqlConstraintBuilder';
constructor(name: string, value: SQL);
}
export declare class Check {
table: MySqlTable;
static readonly [entityKind]: string;
readonly name: string;
readonly value: SQL;
constructor(table: MySqlTable, builder: CheckBuilder);
}
export declare function check(name: string, value: SQL): CheckBuilder;