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

Function createUsers

packages/db/tests/query/select.test-d.ts:34–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32>
33
34function createUsers() {
35 return createCollection(
36 mockSyncCollectionOptions<User>({
37 id: `nested-select-users-type`,
38 getKey: (u) => u.id,
39 initialData: [],
40 }),
41 )
42}
43
44describe(`select types`, () => {
45 test(`works with functions`, () => {

Callers 1

select.test-d.tsFile · 0.70

Calls 2

createCollectionFunction · 0.85

Tested by

no test coverage detected