Enum mongo_driver::collection::FindAndModifyOperation [] [src]

pub enum FindAndModifyOperation<'a> {
    Update(&'a Document),
    Upsert(&'a Document),
    Remove,
}

Possible find and modify operations.

Variants

Update the matching documents

Upsert the matching documents

Remove the matching documents

Trait Implementations

Auto Trait Implementations

impl<'a> Send for FindAndModifyOperation<'a>

impl<'a> Sync for FindAndModifyOperation<'a>