Struct mongo_driver::collection::FindAndModifyOptions
[−]
[src]
pub struct FindAndModifyOptions { pub sort: Option<Document>, pub new: bool, pub fields: Option<Document>, }
Options to configure a find and modify operation.
Fields
sort: Option<Document>
Sort order for the query
new: bool
If the new version of the document should be returned
fields: Option<Document>
The fields to return
Methods
impl FindAndModifyOptions
[src]
pub fn default() -> FindAndModifyOptions
[src]
Default options used if none are provided.