Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ getQueryCache
Method
getQueryCache
packages/query-core/src/queryClient.ts:445–447 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
443
}
444
445
getQueryCache(): QueryCache {
446
return
this.#queryCache
447
}
448
449
getMutationCache(): MutationCache {
450
return
this.#mutationCache
Callers
15
Examples
Function · 0.95
Examples
Function · 0.95
Examples
Function · 0.95
Examples
Function · 0.95
run
Function · 0.95
WithKnownParameters
Function · 0.80
WithKnownParameters
Function · 0.80
Examples
Function · 0.80
Examples
Function · 0.80
subscribe
Method · 0.80
counters-and-state.test.ts
File · 0.80
client-switch-controllers.test.ts
File · 0.80
Calls
no outgoing calls
Tested by
2
buildQuery
Function · 0.64
makeState
Function · 0.64