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

Method values

packages/db/src/SortedMap.ts:195–201  ·  view source on GitHub ↗

* Returns an iterator for the map's values in sorted order * * @returns An iterator for the map's values

()

Source from the content-addressed store, hash-verified

193 * @returns An iterator for the map's values
194 */
195 values(): IterableIterator<TValue> {
196 return function* (this: SortedMap<TKey, TValue>) {
197 for (const key of this.sortedKeys) {
198 yield this.map.get(key)!
199 }
200 }.call(this)
201 }
202
203 /**
204 * Executes a callback function for each key-value pair in the map in sorted order

Callers 15

syncDataFromCollectionFunction · 0.45
assertAllItemsMatchFunction · 0.45
getLoadedIdsFunction · 0.45
createMutationsTestSuiteFunction · 0.45
createJoinsTestSuiteFunction · 0.45
createCollationTestSuiteFunction · 0.45

Calls 1

getMethod · 0.45

Tested by 8

createRecordingAdapterFunction · 0.36
createMockCollectionFunction · 0.36
createDistinctTestsFunction · 0.36
ensureConsistencyFunction · 0.36
createGroupByTestsFunction · 0.36
createOrderByTestsFunction · 0.36
createOrderByBugTestsFunction · 0.36