@ -195,6 +195,8 @@ impl MemoryStore {
}
/// Returns the number of quads in the store
///
/// Warning: this function executes a full scan
pub fn len(&self) -> usize {
self.indexes()
.spog
@ -150,6 +150,8 @@ impl RocksDbStore {
self.db
.full_iterator_cf(self.spog_cf(), IteratorMode::Start)
@ -151,6 +151,8 @@ impl SledStore {
self.quads.len() / 6