Files
Gemini-Search/node_modules/drizzle-orm/pg-core/checks.d.ts
Ammaar Reshi d6025af146 Initial commit
2025-01-04 14:06:53 +00:00

19 lines
603 B
TypeScript

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