Table of Contents

Method Aggregate

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

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 AggregateArgs

The args.

Returns

IEnumerable<BsonDocument>

A sequence of documents.