[][src]Crate avocado

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

flt

Convenience macro for constructing a FilterDoc.

flt_and

Constructs an $and query. Similar to plain flt!, 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.

flt_nor

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

flt_or

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