MCPcopy Create free account
hub / github.com/TanStack/db / evaluateIndexExpression

Function evaluateIndexExpression

packages/db/src/indexes/base-index.ts:212–215  ·  view source on GitHub ↗
(item: any)

Source from the content-addressed store, hash-verified

210 protected abstract initialize(options?: any): void
211
212 protected evaluateIndexExpression(item: any): any {
213 const evaluator = compileSingleRowExpression(this.expression)
214 return evaluator(item as Record<string, unknown>)
215 }
216
217 protected trackLookup(startTime: number): void {
218 const duration = performance.now() - startTime

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected