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

Function getQueryPatterns

packages/db/src/indexes/index-registry.ts:164–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

162 * Get query patterns (useful for debugging/testing)
163 */
164export function getQueryPatterns(): Map<
165 string,
166 {
167 fieldPath: Array<string>
168 queryCount: number
169 totalTimeMs: number
170 avgTimeMs: number
171 }
172> {
173 return new Map(queryPatterns)
174}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected