Class GroupBy
A predicate indicating that you want to group like objects together.
Inheritance
System.Object
GroupBy
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Redis.OM.Aggregation.AggregationPredicates
Assembly: Redis.OM.dll
Syntax
public class GroupBy : IAggregationPredicate
Constructors
| Improve this Doc View SourceGroupBy(String[])
Initializes a new instance of the GroupBy class.
Declaration
public GroupBy(string[] properties)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | properties | the properties to group. |
Properties
| Improve this Doc View SourceProperties
Gets or sets the properties to group.
Declaration
public string[] Properties { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
Methods
| Improve this Doc View SourceSerialize()
Serializes the predicate.
Declaration
public IEnumerable<string> Serialize()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | An array of string arguments for an aggregation. |