[−][src]Trait avocado::ops::Pipeline
An aggregation pipeline.
Associated Types
type Output: for<'a> Deserialize<'a>
The type of the values obtained by running this pipeline.
Required methods
Loading content...Provided methods
fn transform(raw: Document) -> Result<Bson>
Optional transform applied to each returned raw document. Can be used
to adjust the structure of the loosely-typed data so that it fits
what is expected by <Self::Output as Deserialize>::deserialize()
.
The default implementation just returns its argument verbatim.
fn options() -> AggregateOptions
Options for this pipeline.
Implementations on Foreign Types
impl<T: Doc, P: Pipeline<T>, '_> Pipeline<T> for &'_ P
[src]
impl<T: Doc, P: Pipeline<T>, '_> Pipeline<T> for &'_ P
type Output = P::Output
fn stages(&self) -> Vec<Document> | [src] |
fn transform(doc: Document) -> Result<Bson> | [src] |
fn options() -> AggregateOptions | [src] |