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

Function createUsersCollection

packages/db/tests/query/composables.test.ts:87–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85]
86
87function createUsersCollection() {
88 return createCollection(
89 mockSyncCollectionOptions<User>({
90 id: `test-users`,
91 getKey: (user) => user.id,
92 initialData: sampleUsers,
93 }),
94 )
95}
96
97function createPostsCollection() {
98 return createCollection(

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…