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 MyTable
then use def_tx_ops below to init the db.
Re-exports
pub use env::Env;
pub use lmdb::Error;
pub use lmdb::DbFlags;
pub use lmdb::CursorOpFlags;
pub use transaction::*;
Modules
Macros
- If you use a single static Env, e.g.
Structs
- A value which is initialized on the first access.