Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/db
/ clearQueryPatterns
Function
clearQueryPatterns
packages/db/src/indexes/index-registry.ts:157–159 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
155
* Clear query pattern tracking (useful
for
tests)
156
*/
157
export
function
clearQueryPatterns(): void {
158
queryPatterns.clear()
159
}
160
161
/**
162
* Get query patterns (useful
for
debugging/testing)
Callers
nothing calls this directly
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected