aboutsummaryrefslogtreecommitdiffstats
path: root/log_db/src/memtable_secondary.rs
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-01-06 20:11:48 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-01-06 20:11:48 +0200
commit3e1d169fe822f711bd96278e13cd89e2800c8927 (patch)
tree754ba12a94b5810c2a8b944c836e8e83bae01491 /log_db/src/memtable_secondary.rs
parenta4b813881a47bb9d8aa528a9598cfdb052ae231e (diff)
Add delete_by, rename find_all to find_by
Diffstat (limited to 'log_db/src/memtable_secondary.rs')
-rw-r--r--log_db/src/memtable_secondary.rs2
1 files changed, 1 insertions, 1 deletions
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<LogKey> {
+ pub fn find_by(&self, key: &IndexableValue) -> &HashSet<LogKey> {
match self.records.get(key) {
Some(set) => set.log_keys(),
None => &EMPTY_SET,