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

Function select

packages/solid-query/src/__tests__/useQuery.test.tsx:4044–4047  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4042 queryKey: key1,
4043 queryFn: () => sleep(10).then(() => 0),
4044 get select() {
4045 const currentCount = count()
4046 return (data: number) => `selected ${data + currentCount}`
4047 },
4048 placeholderData: 99,
4049 }))
4050

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected