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

Function createProfilesCollection

packages/db/tests/query/join-subquery.test.ts:170–179  ·  view source on GitHub ↗
(autoIndex: `off` | `eager` = `eager`)

Source from the content-addressed store, hash-verified

168}
169
170function createProfilesCollection(autoIndex: `off` | `eager` = `eager`) {
171 return createCollection(
172 mockSyncCollectionOptions<Profile>({
173 id: `join-subquery-test-profiles`,
174 getKey: (profile) => profile.id,
175 initialData: sampleProfiles,
176 autoIndex,
177 }),
178 )
179}
180
181function createProductsCollection(autoIndex: `off` | `eager` = `eager`) {
182 return createCollection(

Callers 1

createJoinSubqueryTestsFunction · 0.85

Calls 2

createCollectionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…