PgArray
class PgArray<T extends ColumnBaseConfig> extends PgColumn<PgArrayHKT, T, {}, { }
baseColumn: BuildColumn<string, Assume<PgColumnBuilder<PgColumnBuilderHKT, {
}> {name: T["name"];
notNull: T["notNull"];
hasDefault: T["hasDefault"];
data: Assume<T["data"], unknown[]>[number];
driverParam: Assume<T["driverParam"], unknown[]>[number];
}>, AnyColumnBuilder>>; constructor(
table: AnyPgTable<{
name: T["tableName"];
}>,config: PgArrayBuilder<T>["config"],
baseColumn: AnyPgColumn,
range?: [number | undefined, number | undefined] | undefined,
);protected $pgColumnBrand: "PgArray";
readonly range?: [number | undefined, number | undefined] | undefined;
readonly size: number | undefined;
getSQLType(): string;
mapFromDriverValue(value: unknown[] | string): T["data"];
mapToDriverValue(value: unknown[]): string;
§Type Parameters
§
T extends ColumnBaseConfig
[src]§Extends
§
PgColumn<PgArrayHKT, T, {}, {
[src]baseColumn: BuildColumn<string, Assume<PgColumnBuilder<PgColumnBuilderHKT, {
}>name: T["name"];
notNull: T["notNull"];
hasDefault: T["hasDefault"];
data: Assume<T["data"], unknown[]>[number];
driverParam: Assume<T["driverParam"], unknown[]>[number];
}>, AnyColumnBuilder>>; §Constructors
§
new PgArray(table: AnyPgTable<{
[src]name: T["tableName"];
}>, config: PgArrayBuilder<T>["config"], baseColumn: AnyPgColumn, range?: [number | undefined, number | undefined] | undefined)§Properties
§
baseColumn: AnyPgColumn
[src]