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

Function select

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

Source from the content-addressed store, hash-verified

4037 queryKey: key1,
4038 queryFn: () => sleep(10).then(() => 0),
4039 get select() {
4040 const currentCount = count()
4041 return (data: number) => `selected ${data + currentCount}`
4042 },
4043 placeholderData: 99,
4044 }))
4045

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected