Skip to main content
Deno 2 is finally 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.4/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