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

Function getWhereExpression

packages/db/src/query/ir.ts:264–268  ·  view source on GitHub ↗
(where: Where)

Source from the content-addressed store, hash-verified

262 * Extract the expression from a Where clause
263 */
264export function getWhereExpression(where: Where): BasicExpression<boolean> {
265 return typeof where === `object` && `expression` in where
266 ? where.expression
267 : where
268}
269
270/**
271 * Extract the expression from a HAVING clause

Callers 3

splitAndClausesFunction · 0.85
applyOptimizationsFunction · 0.85
compileQueryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected