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

Function createCommentsCollection

packages/db/tests/query/includes.test-d.ts:64–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64function createCommentsCollection() {
65 return createCollection(
66 mockSyncCollectionOptions<Comment>({
67 id: `includes-type-comments`,
68 getKey: (c) => c.id,
69 initialData: [],
70 }),
71 )
72}
73
74function createMessagesCollection() {
75 return createCollection(

Callers 1

includes.test-d.tsFile · 0.70

Calls 2

createCollectionFunction · 0.85

Tested by

no test coverage detected