Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/drizzle/pg-core.ts>PgCustomColumn

Deno port of the drizzle-orm library
Latest
class PgCustomColumn
import { PgCustomColumn } from "https://deno.land/x/drizzle@v0.23.85/pg-core.ts";

Constructors

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

Properties

private
optional
mapFrom
private
optional
mapTo
private
sqlName
protected
$pgColumnBrand: "PgCustomColumn"

Methods

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