MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / has_sorted_indexes

Method has_sorted_indexes

nodedb/src/engine/kv/engine_sorted.rs:71–74  ·  view source on GitHub ↗

Check if any sorted indexes exist for this tenant/collection.

(&self, tenant_id: u64, collection: &str)

Source from the content-addressed store, hash-verified

69
70 /// Check if any sorted indexes exist for this tenant/collection.
71 pub fn has_sorted_indexes(&self, tenant_id: u64, collection: &str) -> bool {
72 let tkey = table_key(tenant_id, collection);
73 self.sorted_indexes.has_indexes(tkey)
74 }
75
76 // ── Query methods ──────────────────────────────────────────────────
77

Callers

nothing calls this directly

Calls 2

table_keyFunction · 0.85
has_indexesMethod · 0.45

Tested by

no test coverage detected