[][src]Trait avocado::ops::Upsert

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

An upsert (update or insert) operation.

Required methods

Filter for restricting documents to upsert.

The upsert to perform on matching documents.

Loading content...

Provided methods

Options for this upsert operation.

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

Loading content...