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

Method keyCount

packages/db/src/indexes/basic-index.ts:239–241  ·  view source on GitHub ↗

* Gets the number of indexed keys

()

Source from the content-addressed store, hash-verified

237 * Gets the number of indexed keys
238 */
239 get keyCount(): number {
240 return this.indexedKeys.size
241 }
242
243 /**
244 * Performs an equality lookup - O(1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected