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

PgJson

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

§Type Parameters

§Extends

§
PgColumn<PgJsonHKT, T>
[src]

§Constructors

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

§Properties

§
$pgColumnBrand: "PgJson"
[src]

§Methods

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