Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>kysely.CaseWhenBuilder#endCase

Kysely dialect for PostgreSQL using the deno-postgres client.
Latest
method kysely.CaseWhenBuilder.prototype.endCase
import { kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.1/mod.ts";
const { CaseWhenBuilder } = kysely;

Adds end case keywords to the case statement.

case statements can only be used for flow control in stored programs. For a case operator used as part of a query, use end instead.

Returns

ExpressionWrapper<DB, TB, O | null>