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

Function createUsersCollection

packages/db/tests/effect.test.ts:37–45  ·  view source on GitHub ↗
(initialData = sampleUsers)

Source from the content-addressed store, hash-verified

35]
36
37function createUsersCollection(initialData = sampleUsers) {
38 return createCollection(
39 mockSyncCollectionOptions<User>({
40 id: `test-users`,
41 getKey: (user) => user.id,
42 initialData,
43 }),
44 )
45}
46
47function createIssuesCollection(initialData = sampleIssues) {
48 return createCollection(

Callers 1

effect.test.tsFile · 0.70

Calls 2

createCollectionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…