MCPcopy Index your code
hub / github.com/TanStack/db / getHavingExpression

Function getHavingExpression

packages/db/src/query/ir.ts:274–280  ·  view source on GitHub ↗
(
  having: Having,
)

Source from the content-addressed store, hash-verified

272 * HAVING clauses can contain aggregates, unlike regular WHERE clauses
273 */
274export function getHavingExpression(
275 having: Having,
276): BasicExpression | Aggregate {
277 return typeof having === `object` && `expression` in having
278 ? having.expression
279 : having
280}
281
282/**
283 * Check if a Where clause is marked as residual

Callers 1

processGroupByFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected