Crate avocado[][src]

Avocado: the strongly-typed MongoDB driver

Modules

bsn

BSON serialization and deserialization helpers.

coll

A MongoDB collection of a single homogeneous type.

cursor

Typed, generic wrapper around MongoDB Cursors.

db

Represents a MongoDB database.

dsl

Traits and types for describing the MongoDB DDL and DML.

error

Error and Result types arising out of MongoDB operations.

utils

Common utility functions and types.

Macros

filter

Convenience macro for constructing a Filter.

filter_and

Constructs an $and query. Similar to plain filter!, but takes a list of subqueries and wraps them in a document with the key $and, because such a query can only appear at the top level, and not as a field specifier.

filter_nor

The same as filter_and! but it creates a $nor filter instead.

filter_or

The same as filter_and! but it creates an $or filter instead.