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

Function select

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

Source from the content-addressed store, hash-verified

3982 queryKey: key1,
3983 queryFn: () => sleep(10).then(() => 0),
3984 get select() {
3985 const currentCount = count()
3986 return (data: number) => `selected ${data + currentCount}`
3987 },
3988 placeholderData: 99,
3989 }))
3990

Callers

nothing calls this directly

Calls 1

countFunction · 0.85

Tested by

no test coverage detected