mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
add method to iterate opened database columns
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
849cfdcdfa
commit
f261d44edb
2 files changed
+12
-2
No files matched your search
@@ -4,7 +4,9 @@ use conduit::Result;
|
||||
|
||||
use crate::{Engine, Map};
|
||||
|
||||
pub type Maps = BTreeMap<String, Arc<Map>>;
|
||||
pub type Maps = BTreeMap<MapsKey, MapsVal>;
|
||||
pub(crate) type MapsVal = Arc<Map>;
|
||||
pub(crate) type MapsKey = String;
|
||||
|
||||
pub(crate) fn open(db: &Arc<Engine>) -> Result<Maps> { open_list(db, MAPS) }
|
||||
|
||||
|
||||
Reference in new issue
Block a user