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

Function get

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

Source from the content-addressed store, hash-verified

410
411 const handler = (index: number) => ({
412 get(target: QueryObserverResult, prop: keyof QueryObserverResult): any {
413 if (prop === 'data') {
414 return dataResources()[index]![0]()
415 }
416 return Reflect.get(target, prop)
417 },
418 })
419
420 const getProxies = () =>

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected