[][src]Crate polodb_core

PoloDB is an embedded JSON-based database.

PoloDB is a library written in Rust that implements a lightweight MongoDB. PoloDB has no dependency(except for libc), so it can be easily run on most platform(thanks for Rust Language). The data of PoloDB is stored in a file. The file format is stable, cross-platform, and backwards compaitible. The API of PoloDB is very similar to MongoDB. It's very easy to learn and use.

Installation

[dependencies]
polodb_core = "0.6.0"
polodb_bson = "0.6.0"

Usage

The Database structure provides all the API to get access to the DB file.

Re-exports

pub use db::Database;
pub use db::DbResult;

Modules

db
dump

Macros

polo_log

Structs

Config
DbContext

API for all platforms

DbHandle

A VM wrapper for Rust-level API

Enums

DbErr
TransactionType