Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kysely_postgrs_js_dialect/deps.ts>kysely.JSONColumnType

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