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

Function childItems

packages/db/tests/query/includes.test.ts:92–94  ·  view source on GitHub ↗

* Extracts child collection items as a sorted plain array for comparison.

(collection: any, sortKey = `id`)

Source from the content-addressed store, hash-verified

90 * Extracts child collection items as a sorted plain array for comparison.
91 */
92function childItems(collection: any, sortKey = `id`): Array<any> {
93 return sortedPlainRows(collection, sortKey)
94}
95
96function stripVirtualPropsDeep(value: any): any {
97 if (Array.isArray(value)) {

Callers 1

includes.test.tsFile · 0.85

Calls 1

sortedPlainRowsFunction · 0.85

Tested by

no test coverage detected