From 3e1d169fe822f711bd96278e13cd89e2800c8927 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 6 Jan 2025 20:11:48 +0200 Subject: Add delete_by, rename find_all to find_by --- log_db/src/memtable_secondary.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'log_db/src/memtable_secondary.rs') diff --git a/log_db/src/memtable_secondary.rs b/log_db/src/memtable_secondary.rs index a7a9a8a..9309fa2 100644 --- a/log_db/src/memtable_secondary.rs +++ b/log_db/src/memtable_secondary.rs @@ -31,7 +31,7 @@ impl SecondaryMemtable { }; } - pub fn find_all(&self, key: &IndexableValue) -> &HashSet { + pub fn find_by(&self, key: &IndexableValue) -> &HashSet { match self.records.get(key) { Some(set) => set.log_keys(), None => &EMPTY_SET, -- cgit v1.3