Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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

§Constructors

§
new Table(name: string, schema?: string)
[src]

§Properties

§
_: {
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">;
}
;
}
[src]