Class: Google::Cloud::Firestore::AggregateQuerySnapshot
- Inherits:
-
Object
- Object
- Google::Cloud::Firestore::AggregateQuerySnapshot
- Defined in:
- lib/google/cloud/firestore/aggregate_query_snapshot.rb
Overview
AggregateQuerySnapshot
An aggregate query snapshot object is an immutable representation for an aggregate query result.
Instance Method Summary collapse
-
#get(aggregate_alias) ⇒ Integer
Retrieves the aggregate data.
Instance Method Details
#get(aggregate_alias) ⇒ Integer
Retrieves the aggregate data.
64 65 66 |
# File 'lib/google/cloud/firestore/aggregate_query_snapshot.rb', line 64 def get aggregate_alias @aggregate_fields[aggregate_alias] end |