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

Function createUsersCollection

packages/db/tests/query/case-when.test.ts:39–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37]
38
39function createUsersCollection() {
40 return createCollection(
41 mockSyncCollectionOptions<User>({
42 id: `case-when-users`,
43 getKey: (user) => user.id,
44 initialData: sampleUsers,
45 }),
46 )
47}
48
49function createPostsCollection() {
50 return createCollection(

Callers 1

case-when.test.tsFile · 0.70

Calls 2

createCollectionFunction · 0.85

Tested by

no test coverage detected