Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>kysely.HavingInterface

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

Type Parameters

DB
TB extends keyof DB

Methods

having<RE extends ReferenceExpression<DB, TB>, VE extends OperandValueExpressionOrList<DB, TB, RE>>(
lhs: RE,
rhs: VE,
): HavingInterface<DB, TB>

Just like WhereInterface.where | where but adds a having statement instead of a where statement.

having<E>(expression: E): HavingInterface<DB, TB>
havingRef<LRE extends ReferenceExpression<DB, TB>, RRE extends ReferenceExpression<DB, TB>>(
lhs: LRE,
rhs: RRE,
): HavingInterface<DB, TB>

Just like WhereInterface.whereRef | whereRef but adds a having statement instead of a where statement.