Lightweight embedded database
The LEDB is an attempt to implement simple but efficient, lightweight but powerful document storage.
The abbreviation LEDB may be treated as an Lightweight Embedded DB, also Low End DB, also Literium Engine DB, also LitE DB, and so on.
Links
- ledb Crate on crates.io
- ledb API Docs on docs.rs
- ledb-types Crate on crates.io
- ledb-types API Docs on docs.rs
- ledb-derive Crate on crates.io
- ledb-derive API Docs on docs.rs
- ledb-actix Crate on crates.io
- ledb-actix API Docs on docs.rs
- ledb NodeJS addon on npmjs.com
Key features
- Processing documents which implements
Serialize
andDeserialize
traits from serde. - Identifying documents using auto-incrementing integer primary keys.
- Indexing any fields of documents using unique or duplicated keys.
- Searching and ordering documents using indexed fields or primary key.
- Selecting documents using complex filters with fields comparing and logical operations.
- Updating documents using rich set of modifiers.
- Storing documents into independent storages so called collections.
- Flexible
query!
macro which helps write clear and readable queries. - Using LMDB as backend for document storage and indexing engine.
Usage example
extern crate serde;
extern crate serde_derive;
// This allows inserting JSON documents
extern crate serde_json;
extern crate ledb;
// This allows define typed documents easy
extern crate ledb_derive;
extern crate ledb_types;
use ;