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

Method constructor

packages/db/src/utils/btree.ts:428–432  ·  view source on GitHub ↗
(keys: Array<K> = [], values?: Array<V>)

Source from the content-addressed store, hash-verified

426 }
427
428 constructor(keys: Array<K> = [], values?: Array<V>) {
429 this.keys = keys
430 this.values = values || undefVals
431 this.isShared = undefined
432 }
433
434 // /////////////////////////////////////////////////////////////////////////
435 // Shared methods /////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected