Initial commit

This commit is contained in:
Ammaar Reshi
2025-01-04 14:06:53 +00:00
parent 7082408604
commit d6025af146
23760 changed files with 3299690 additions and 0 deletions

View File

@ -0,0 +1,23 @@
import { entityKind } from "../entity.js";
import type { SQLiteColumn } from "./columns/common.js";
import type { SQLiteTable } from "./table.js";
export declare function uniqueKeyName(table: SQLiteTable, columns: string[]): string;
export declare function unique(name?: string): UniqueOnConstraintBuilder;
export declare class UniqueConstraintBuilder {
private name?;
static readonly [entityKind]: string;
constructor(columns: SQLiteColumn[], name?: string | undefined);
}
export declare class UniqueOnConstraintBuilder {
static readonly [entityKind]: string;
constructor(name?: string);
on(...columns: [SQLiteColumn, ...SQLiteColumn[]]): UniqueConstraintBuilder;
}
export declare class UniqueConstraint {
readonly table: SQLiteTable;
static readonly [entityKind]: string;
readonly columns: SQLiteColumn[];
readonly name?: string;
constructor(table: SQLiteTable, columns: SQLiteColumn[], name?: string);
getName(): string | undefined;
}