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

Method values

packages/db/src/collection/state.ts:410–417  ·  view source on GitHub ↗

* Get all values (virtual derived state)

()

Source from the content-addressed store, hash-verified

408 * Get all values (virtual derived state)
409 */
410 public *values(): IterableIterator<TOutput> {
411 for (const key of this.keys()) {
412 const value = this.get(key)
413 if (value !== undefined) {
414 yield value
415 }
416 }
417 }
418
419 /**
420 * Get all entries (virtual derived state)

Callers 2

Calls 2

keysMethod · 0.95
getMethod · 0.95

Tested by

no test coverage detected