AggregationResult

public struct AggregationResult : Codable, Equatable

Aggregation results for the specified query.

  • key

    Key that matched the aggregation type.

    Declaration

    Swift

    public var key: String?
  • Number of matching results.

    Declaration

    Swift

    public var matchingResults: Int?
  • Aggregations returned in the case of chained aggregations.

    Declaration

    Swift

    public var aggregations: [QueryAggregation]?
  • Declaration

    Swift

    public init(from decoder: Decoder) throws