[−][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(&self) -> AggregateOptions
Options for this pipeline.