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

Method minKey

packages/db/src/utils/btree.ts:212–214  ·  view source on GitHub ↗

Gets the lowest key in the tree. Complexity: O(log size)

()

Source from the content-addressed store, hash-verified

210
211 /** Gets the lowest key in the tree. Complexity: O(log size) */
212 minKey(): K | undefined {
213 return this._root.minKey()
214 }
215
216 /** Gets the highest key in the tree. Complexity: O(1) */
217 maxKey(): K | undefined {

Callers 4

keysArrayMethod · 0.95
minKeyMethod · 0.45
rangeQueryMethod · 0.45
rangeQueryReversedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected