[][src]Trait avocado::ops::Update

pub trait Update<T: Doc>: Debug {
    fn filter(&self) -> Document;
fn update(&self) -> Document; fn options() -> WriteConcern { ... } }

An update (but not an upsert) operation.

Required methods

fn filter(&self) -> Document

Filter for restricting documents to update.

fn update(&self) -> Document

The update to perform on matching documents.

Loading content...

Provided methods

fn options() -> WriteConcern

Options for this update operation.

Loading content...

Implementations on Foreign Types

impl<T: Doc, U: Update<T>, '_> Update<T> for &'_ U
[src]

Loading content...

Implementors

Loading content...