Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.JSONColumnType

Kysely dialect for PostgreSQL using the Postgres.js client.
Go to Latest
type alias kysely.JSONColumnType
import { type kysely } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.3/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