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

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

An update (but not an upsert) operation.

Required Methods

Filter for restricting documents to update.

The update to perform on matching documents.

Provided Methods

Options for this update operation.

Implementors