MCPcopy Create free account
hub / github.com/TanStack/db / append

Method append

packages/db-ivm/src/indexes.ts:429–433  ·  view source on GitHub ↗

* This method appends another index to the current index. * @param other - The index to append to the current index.

(other: Index<TKey, TValue>)

Source from the content-addressed store, hash-verified

427 * @param other - The index to append to the current index.
428 */
429 append(other: Index<TKey, TValue>): void {
430 for (const [key, value] of other.entries()) {
431 this.addValue(key, value)
432 }
433 }
434
435 /**
436 * This method joins two indexes.

Callers 3

runMethod · 0.80
indexes.test.tsFile · 0.80

Calls 2

addValueMethod · 0.95
entriesMethod · 0.45

Tested by

no test coverage detected