MCPcopy Index your code
hub / github.com/TanStack/db / queryKey

Function queryKey

packages/query-db-collection/tests/query.test.ts:3915–3920  ·  view source on GitHub ↗
(ctx: any)

Source from the content-addressed store, hash-verified

3913 })
3914
3915 const queryKey = (ctx: any) => {
3916 if (ctx.where) {
3917 return [...baseQueryKey, ctx.where]
3918 }
3919 return baseQueryKey
3920 }
3921
3922 const config: QueryCollectionConfig<
3923 TestItem & { category: `A` | `B` | `C` }

Callers 3

queryCollectionOptionsFunction · 0.85
enhancedInternalSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected