import { type kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";
const { HavingInterface } = kysely;
Type Parameters
TB extends keyof DB
Methods
having<RE extends ReferenceExpression<DB, TB>, VE extends OperandValueExpressionOrList<DB, TB, RE>>(): 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>>(): HavingInterface<DB, TB>
Just like {@link WhereInterface.whereRef | whereRef} but adds a having
statement
instead of a where
statement.