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

Method values

packages/db/src/collection/index.ts:508–515  ·  view source on GitHub ↗

* Get all values (virtual derived state)

()

Source from the content-addressed store, hash-verified

506 * Get all values (virtual derived state)
507 */
508 public *values(): IterableIterator<WithVirtualProps<TOutput, TKey>> {
509 for (const key of this._state.keys()) {
510 const value = this.get(key)
511 if (value !== undefined) {
512 yield value
513 }
514 }
515 }
516
517 /**
518 * Get all entries (virtual derived state)

Callers 13

toArrayMethod · 0.95
updateIndexesMethod · 0.45
updateTimeoutMethod · 0.45
findIndexForFieldFunction · 0.45
queryOnceFunction · 0.45
selectHasAggregatesFunction · 0.45
compileQueryFunction · 0.45
containsAggregateFunction · 0.45
allCollectionsReadyMethod · 0.45

Calls 2

getMethod · 0.95
keysMethod · 0.45

Tested by

no test coverage detected