Class GroupByBuilder
A builder for specifying what the GroupBy command should group by.
[Serializable]
[BsonSerializer(typeof(GroupByBuilder.Serializer))]
public class GroupByBuilder : BuilderBase, IConvertibleToBsonDocument, IMongoGroupBy
- Inheritance
-
GroupByBuilder
- Implements
- Inherited Members
- Extension Methods
Constructors
- GroupByBuilder()
Initializes a new instance of the GroupByBuilder class.
- GroupByBuilder(string[])
Initializes a new instance of the GroupByBuilder class.
Methods
- Keys(params string[])
Sets one or more key names.
- ToBsonDocument()
Returns the result of the builder as a BsonDocument.