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

pub trait Update<T: Doc>: Debug {
    fn filter(&self) -> Document;
fn update(&self) -> Document; fn options(&self) -> 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(&self) -> 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...