Expand description
Batadase: An incredible LMDB wrapper.
Note that this crate does not compile on wasm, but batadase-index does.
You can use the batadase-macros crate to do make a table easier, e.g.
ⓘ
#[derive(batadase_macros::DbName)]
#[flags(lmdb::DbFlags::IntegerKey)]
#[table(Table<'tx, TX, MyActualDataStruct>)]
struct MyTablethen use def_tx_ops below to init the db.
Re-exports§
pub use env::Env;pub use lmdb::DbFlags;pub use lmdb::CursorOpFlags;pub use error::Error;pub use enumflags2;pub use transaction::*;
Modules§
Macros§
- def_
tx_ ops - If you use a single static Env, e.g.