Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>kysely.JSONColumnType

Kysely dialect for PostgreSQL using the deno-postgres client.
Latest
type alias kysely.JSONColumnType
import { type kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.1/mod.ts";
const { JSONColumnType } = kysely;

A shortcut for defining JSON columns, which are by default inserted/updated as stringified JSON strings.

Type Parameters

SelectType extends object | null
optional
InsertType = string
optional
UpdateType = string