Method Aggregate
Aggregate(AggregateArgs)
Represents an aggregate framework query. The command is not sent to the server until the result is enumerated.
public virtual IEnumerable<BsonDocument> Aggregate(AggregateArgs args)
Parameters
args
AggregateArgsThe args.
Returns
- IEnumerable<BsonDocument>
A sequence of documents.