diff --git a/src/db.rs b/src/db.rs
index 8cdf53a..40d7c13 100644
--- a/src/db.rs
+++ b/src/db.rs
@@ -938,6 +938,74 @@ impl DB {
self.get_cf_opt(cf, key.as_ref(), &ReadOptions::default())
}
+ pub fn get_pinned_opt(&self, key: &[u8], readopts: &ReadOptions) -> Result