Crate native_db_32bit

Source
Expand description

Native DB is a Rust library that provides a simple, fast, and embedded database solution, focusing on maintaining coherence between Rust types and stored data with minimal boilerplate. It supports multiple indexes, real-time watch with filters, model migration, hot snapshot, and more.

See README.md for more information.

Re-exports§

pub use db_type::InnerKeyValue;
pub use db_type::Input;

Modules§

db_type
transaction
All database interactions here,r_transaction, rw_transaction and query.
watch
Watch data in real-time.

Structs§

Database
The database instance. Allows you to create rw_transaction and r_transaction, watch queries, and unwatch etc.
DatabaseBuilder
Builder that allows you to create a Database instance via create or open etc. and define models.
DatabaseModel

Functions§

bincode_decode_from_slice
bincode_encode_to_vec

Attribute Macros§

native_db
Macro which link native_model to the Native DB. See DatabaseBuilder.define for more information.

Derive Macros§

KeyAttributes
Macro which link native_model to the Native DB. See DatabaseBuilder.define for more information.