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

PgCustomColumn

class PgCustomColumn<T extends ColumnBaseConfig> extends PgColumn<PgCustomColumnHKT, T> {
constructor(table: AnyPgTable<{
name: T["tableName"];
}
>
, config: PgCustomColumnBuilder<T>["config"]);
private mapFrom?;
private mapTo?;
private sqlName;
protected $pgColumnBrand: "PgCustomColumn";
 
getSQLType(): string;
mapFromDriverValue(value: T["driverParam"]): T["data"];
mapToDriverValue(value: T["data"]): T["driverParam"];
}

§Type Parameters

§Extends

§Constructors

§
new PgCustomColumn(table: AnyPgTable<{
name: T["tableName"];
}
>
, config: PgCustomColumnBuilder<T>["config"])
[src]

§Properties

§
mapFrom
[src]
§
mapTo
[src]
§
sqlName
[src]
§
$pgColumnBrand: "PgCustomColumn"
[src]

§Methods

§
getSQLType(): string
[src]
§
mapFromDriverValue(value: T["driverParam"]): T["data"]
[src]
§
mapToDriverValue(value: T["data"]): T["driverParam"]
[src]