Skip to main content

Crate vantage_mongodb

Crate vantage_mongodb 

Source
Expand description

§Vantage MongoDB Extension

Persistence backend for MongoDB using the official mongodb crate. Uses bson::Bson as the native value type and bson::Document as the condition type — no SQL expressions involved.

Re-exports§

pub use condition::MongoCondition;
pub use id::MongoId;
pub use mongodb::MongoDB;
pub use select::MongoSelect;
pub use types::AnyMongoType;
pub use types::MongoType;
pub use types::MongoTypeVariants;

Modules§

condition
MongoDB condition type — analogous to Expression<T> for SQL backends.
id
MongoDB ID type — wraps either ObjectId or String.
mongodb
MongoDB data source for Vantage.
operation
MongoDB-specific operation trait for building MongoCondition from typed columns.
prelude
Common imports for working with vantage-mongodb.
select
MongoDB SELECT (find) query builder.
types
MongoDB Type System for Vantage Framework