Class GroupBy
A builder for specifying what the GroupBy command should group by.
public static class GroupBy
- Inheritance
-
GroupBy
- Inherited Members
Methods
Function(BsonJavaScript)
Sets a key function.
public static BsonJavaScript Function(BsonJavaScript keyFunction)
Parameters
keyFunction
BsonJavaScriptThe key function.
Returns
- BsonJavaScript
A BsonJavaScript.
Keys(params string[])
Sets one or more key names.
public static GroupByBuilder Keys(params string[] names)
Parameters
names
string[]One or more key names.
Returns
- GroupByBuilder
The builder (so method calls can be chained).