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

Function childRows

packages/db/tests/query/case-when.test.ts:75–77  ·  view source on GitHub ↗
(collection: any)

Source from the content-addressed store, hash-verified

73}
74
75function childRows(collection: any): Array<any> {
76 return [...collection.toArray].map((row) => stripVirtualPropsAndSymbols(row))
77}
78
79describe(`caseWhen`, () => {
80 test(`returns scalar branch values`, async () => {

Callers 1

case-when.test.tsFile · 0.70

Calls 2

mapMethod · 0.45

Tested by

no test coverage detected