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

Function makeMembersCollection

packages/db/tests/query/join-subquery.test.ts:893–901  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

891 }),
892 )
893 const makeMembersCollection = () =>
894 createCollection(
895 mockSyncCollectionOptions<Member>({
896 id: `lazy-join-members`,
897 getKey: (r) => r.id,
898 autoIndex: `off`,
899 initialData: [{ id: `m1`, teamId: `t1` }],
900 }),
901 )
902
903 let teams: ReturnType<typeof makeTeamsCollection>
904 let members: ReturnType<typeof makeMembersCollection>

Callers 1

Calls 2

createCollectionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…