View Source GoogleApi.Firestore.V1beta1.Model.AggregationResult (google_api_firestore v0.27.0)
The result of a single bucket from a Firestore aggregation query. The keys of aggregate_fields
are the same for all results in an aggregation query, unlike document queries which can have different fields present for each result.
Attributes
-
aggregateFields
(type:%{optional(String.t) => GoogleApi.Firestore.V1beta1.Model.Value.t}
, default:nil
) - The result of the aggregation functions, ex:COUNT(*) AS total_docs
. The key is the alias assigned to the aggregation function on input and the size of this map equals the number of aggregation functions in the query.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Firestore.V1beta1.Model.AggregationResult{ aggregateFields: %{optional(String.t()) => GoogleApi.Firestore.V1beta1.Model.Value.t()} | nil }
Functions
Unwrap a decoded JSON object into its complex fields.