MCPcopy Create free account
hub / github.com/TanStack/db / createTeamsCollection

Function createTeamsCollection

packages/db/tests/query/includes.test.ts:924–932  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

922 ]
923
924 function createTeamsCollection() {
925 return createCollection(
926 mockSyncCollectionOptions<Team>({
927 id: `includes-teams`,
928 getKey: (t) => t.id,
929 initialData: sampleTeams,
930 }),
931 )
932 }
933
934 function createMembersCollection() {
935 return createCollection(

Callers 1

includes.test.tsFile · 0.85

Calls 2

createCollectionFunction · 0.85

Tested by

no test coverage detected