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:533–535 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
531
}
532
533
getQueryCache(): QueryCache {
534
return
this.#queryCache
535
}
536
537
getMutationCache(): MutationCache {
538
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