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

PgJsonb

class PgJsonb<T extends ColumnBaseConfig> extends PgColumn<PgJsonbHKT, T> {
constructor(table: AnyPgTable<{
name: T["tableName"];
}
>
, config: PgJsonbBuilder<T>["config"]);
protected $pgColumnBrand: "PgJsonb";
 
getSQLType(): string;
mapFromDriverValue(value: T["data"] | string): T["data"];
mapToDriverValue(value: T["data"]): string;
}

§Type Parameters

§Extends

§
PgColumn<PgJsonbHKT, T>
[src]

§Constructors

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

§Properties

§
$pgColumnBrand: "PgJsonb"
[src]

§Methods

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