Method Facet
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Facet(IEnumerable<AggregateFacet>, AggregateFacetOptions)
Appends a $facet stage to the pipeline.
IAggregateFluent<TNewResult> Facet<TNewResult>(IEnumerable<AggregateFacet<TResult>> facets, AggregateFacetOptions<TNewResult> options = null)
Parameters
facets
IEnumerable<AggregateFacet>
The facets.
options
AggregateFacetOptions
The options.
Returns
The fluent aggregate interface.
Type Parameters
TNewResult
The type of the new result.