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

Method maxKey

packages/db/src/utils/btree.ts:437–439  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

435 // Shared methods /////////////////////////////////////////////////////////
436
437 maxKey() {
438 return this.keys[this.keys.length - 1]
439 }
440
441 // If key not found, returns i^failXor where i is the insertion index.
442 // Callers that don't care whether there was a match will set failXor=0.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected