Table
class Table<T extends TableConfig = TableConfig> {}
constructor(name: string, schema?: string);
readonly _: {
readonly brand: "Table";
readonly config: T;
readonly name: T["name"];
readonly schema: T["schema"];
readonly columns: T["columns"];
readonly model: {
};select: InferModel<Table<T>>;
insert: InferModel<Table<T>, "insert">;
}; §Type Parameters
§
T extends TableConfig = TableConfig
[src]§Properties
§
_: {
[src]readonly brand: "Table";
readonly config: T;
readonly name: T["name"];
readonly schema: T["schema"];
readonly columns: T["columns"];
readonly model: {
}select: InferModel<Table<T>>;
insert: InferModel<Table<T>, "insert">;
};