Initial commit
This commit is contained in:
22
node_modules/drizzle-orm/sqlite-core/checks.d.ts
generated
vendored
Normal file
22
node_modules/drizzle-orm/sqlite-core/checks.d.ts
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
import { entityKind } from "../entity.js";
|
||||
import type { SQL } from "../sql/sql.js";
|
||||
import type { SQLiteTable } from "./table.js";
|
||||
export declare class CheckBuilder {
|
||||
name: string;
|
||||
value: SQL;
|
||||
static readonly [entityKind]: string;
|
||||
protected brand: 'SQLiteConstraintBuilder';
|
||||
constructor(name: string, value: SQL);
|
||||
build(table: SQLiteTable): Check;
|
||||
}
|
||||
export declare class Check {
|
||||
table: SQLiteTable;
|
||||
static readonly [entityKind]: string;
|
||||
_: {
|
||||
brand: 'SQLiteCheck';
|
||||
};
|
||||
readonly name: string;
|
||||
readonly value: SQL;
|
||||
constructor(table: SQLiteTable, builder: CheckBuilder);
|
||||
}
|
||||
export declare function check(name: string, value: SQL): CheckBuilder;
|
||||
Reference in New Issue
Block a user