Method Match
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Match(IAggregateFluent, Expression<Func<TResult, bool>>)
Appends a match stage to the pipeline.
public static IAggregateFluent<TResult> Match<TResult>(this IAggregateFluent<TResult> aggregate, Expression<Func<TResult, bool>> filter)Parameters
aggregate IAggregateFluent
The aggregate.
filter Expression<Func<TResult, bool>>
The filter.
Returns
The fluent aggregate interface.
Type Parameters
TResult
The type of the result.