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

Function createProjectsCollection

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

Source from the content-addressed store, hash-verified

57]
58
59function createProjectsCollection() {
60 return createCollection(
61 mockSyncCollectionOptions<Project>({
62 id: `includes-projects`,
63 getKey: (p) => p.id,
64 initialData: sampleProjects,
65 }),
66 )
67}
68
69function createIssuesCollection() {
70 return createCollection(

Callers 1

includes.test.tsFile · 0.70

Calls 2

createCollectionFunction · 0.85

Tested by

no test coverage detected