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

Function get

packages/solid-query/src/useQueries.ts:327–332  ·  view source on GitHub ↗
(target: QueryObserverResult, prop: keyof QueryObserverResult)

Source from the content-addressed store, hash-verified

325
326 const handler = (index: number) => ({
327 get(target: QueryObserverResult, prop: keyof QueryObserverResult): any {
328 if (prop === 'data') {
329 return dataResources()[index]![0]()
330 }
331 return Reflect.get(target, prop)
332 },
333 })
334
335 const getProxies = () =>

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected