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

Method entries

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

* Get all entries (virtual derived state)

()

Source from the content-addressed store, hash-verified

420 * Get all entries (virtual derived state)
421 */
422 public *entries(): IterableIterator<[TKey, TOutput]> {
423 for (const key of this.keys()) {
424 const value = this.get(key)
425 if (value !== undefined) {
426 yield [key, value]
427 }
428 }
429 }
430
431 /**
432 * Get all entries (virtual derived state)

Callers 3

[Symbol.iterator]Method · 0.95
forEachMethod · 0.95
mapMethod · 0.95

Calls 2

keysMethod · 0.95
getMethod · 0.95

Tested by

no test coverage detected