MCPcopy Create free account
hub / github.com/TanStack/query / getAll

Method getAll

packages/query-core/src/queryCache.ts:273–275  ·  view source on GitHub ↗

* Returns all queries within the cache. * * @example * ```ts * const queryCache = queryClient.getQueryCache() * * const queries = queryCache.getAll() * ```

()

Source from the content-addressed store, hash-verified

271 * ```
272 */
273 getAll(): Array<Query> {
274 return [...this.#queries.values()]
275 }
276
277 /**
278 * A slightly more advanced method that can be used to get an existing query instance from the

Callers 15

clearMethod · 0.95
findMethod · 0.95
findAllMethod · 0.95
onFocusMethod · 0.95
onOnlineMethod · 0.95
setupDevtoolsFunction · 0.45
ContentViewFunction · 0.45
MutationRowFunction · 0.45
QueryStatusCountFunction · 0.45
MutationStatusCountFunction · 0.45
QueryDetailsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected