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

Function createPersonsCollection

packages/db/tests/query/order-by.test.ts:2071–2080  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2069
2070 describe(`Nested Object OrderBy`, () => {
2071 const createPersonsCollection = () => {
2072 return createCollection(
2073 mockSyncCollectionOptions<Person>({
2074 id: `test-persons-nested`,
2075 getKey: (person) => person.id,
2076 initialData: initialPersons,
2077 autoIndex,
2078 }),
2079 )
2080 }
2081
2082 let personsCollection: ReturnType<typeof createPersonsCollection>
2083

Callers 1

createOrderByTestsFunction · 0.70

Calls 2

createCollectionFunction · 0.85

Tested by

no test coverage detected