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.CaseWhenBuilder#end

Kysely dialect for PostgreSQL using the Postgres.js client.
Latest
method kysely.CaseWhenBuilder.prototype.end
import { kysely } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.4/deps.ts";
const { CaseWhenBuilder } = kysely;

Adds an end keyword to the case operator.

case operators can only be used as part of a query. For a case statement used as part of a stored program, use endCase instead.

Returns

ExpressionWrapper<DB, TB, O | null>