Module

x/kysely_postgrs_js_dialect/deps.ts>kysely.HavingInterface

Kysely dialect for PostgreSQL using the Postgres.js client.
interface kysely.HavingInterface
import { type kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/deps.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 {@link 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 {@link WhereInterface.whereRef | whereRef} but adds a having statement instead of a where statement.

import kysely.HavingInterface
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/deps.ts";
const { HavingInterface } = kysely;