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#case

Kysely dialect for PostgreSQL using the Postgres.js client.
Latest
method Kysely.prototype.case
Re-export
import { Kysely } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.4/deps.ts";

Creates a case statement/operator.

See ExpressionBuilder.case for more information.

Returns

CaseBuilder<DB, keyof DB>

Parameters

value: Expression<V>

Returns

CaseBuilder<DB, keyof DB, V>