import { type kysely } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.4/deps.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 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 WhereInterface.whereRef | whereRef but adds a having
statement
instead of a where
statement.