Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>kysely.OperandExpression

Kysely dialect for PostgreSQL using the deno-postgres client.
Latest
type alias kysely.OperandExpression
Re-export
import { type kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.1/mod.ts";
const { OperandExpression } = kysely;

Like Expression<V> but also accepts a select query with an output type extending Record<string, V>. This type is useful because SQL treats records with a single column as single values.

definition: Expression<V> | SelectQueryBuilderExpression<Record<string, V>>