[][src]Type Definition avocado::prelude::Document

type Document = OrderedDocument;

Alias for OrderedDocument.

Trait Implementations

impl<T: Doc> Count<T> for Document
[src]

fn options() -> CountOptions
[src]

Options for this query.

impl<T: Doc> Query<T> for Document
[src]

type Output = T

The type of the results obtained by executing the query. Often it's just the document type, T. TODO(H2CO3): make it default to T (#29661). Read more

fn transform(raw: Document) -> Result<Bson>
[src]

Optional transform applied to each returned raw document. Can be used to adjust the structure of the loosely-typed data so that it fits what is expected by <Self::Output as Deserialize>::deserialize(). Read more

fn options() -> FindOptions
[src]

Options for this query.

impl<T: Doc> Delete<T> for Document
[src]

fn options() -> WriteConcern
[src]

Writing options for this deletion operation.

impl DocumentExt for Document
[src]