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

PgColumnBuilder

abstract
abstract class PgColumnBuilder<THKT extends ColumnBuilderHKTBase, T extends ColumnBuilderBaseConfig, TRuntimeConfig extends object = {}, TTypeConfig extends object = {}> extends ColumnBuilder<THKT, T, TRuntimeConfig, TTypeConfig & {
pgBrand: "PgColumnBuilder";
}
>
{
private foreignKeyConfigs;
 
array(size?: number): PgArrayBuilder<{
name: NonNullable<T["name"]>;
notNull: NonNullable<T["notNull"]>;
hasDefault: NonNullable<T["hasDefault"]>;
data: T["data"][];
driverParam: T["driverParam"][] | string;
}
>
;
references(ref: ReferenceConfig["ref"], actions?: ReferenceConfig["actions"]): this;
}

§Type Parameters

§
TRuntimeConfig extends object = {}
[src]
§
TTypeConfig extends object = {}
[src]

§Extends

§
ColumnBuilder<THKT, T, TRuntimeConfig, TTypeConfig & {
pgBrand: "PgColumnBuilder";
}
>
[src]

§Properties

§
foreignKeyConfigs
[src]

§Methods

§
array(size?: number): PgArrayBuilder<{
name: NonNullable<T["name"]>;
notNull: NonNullable<T["notNull"]>;
hasDefault: NonNullable<T["hasDefault"]>;
data: T["data"][];
driverParam: T["driverParam"][] | string;
}
>
[src]
§
references(ref: ReferenceConfig["ref"], actions?: ReferenceConfig["actions"]): this
[src]