/opt/canhelp/node_modules/kysely/dist/esm/query-builder
Edit: /opt/canhelp/node_modules/kysely/dist/esm/query-builder/having-interface.d.ts (953B)
import type { ComparisonOperatorExpression, OperandValueExpressionOrList } from '../parser/binary-operation-parser.js';
import type { ReferenceExpression } from '../parser/reference-parser.js';
export interface HavingInterface
{
/**
* Just like {@link WhereInterface.where | where} but adds a `having` statement
* instead of a `where` statement.
*/
having, VE extends OperandValueExpressionOrList>(lhs: RE, op: ComparisonOperatorExpression, rhs: VE): HavingInterface;
having(expression: E): HavingInterface;
/**
* Just like {@link WhereInterface.whereRef | whereRef} but adds a `having` statement
* instead of a `where` statement.
*/
havingRef, RRE extends ReferenceExpression>(lhs: LRE, op: ComparisonOperatorExpression, rhs: RRE): HavingInterface;
}