import { ComparisonOperatorExpression, OperandValueExpressionOrList } from '../parser/binary-operation-parser.js'; import { 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; }