Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::AggregationQuery.
Datastore query for running an aggregation over a Query.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#aggregations
def aggregations() -> ::Array<::Google::Cloud::Datastore::V1::AggregationQuery::Aggregation>
-
(::Array<::Google::Cloud::Datastore::V1::AggregationQuery::Aggregation>) —
Optional. Series of aggregations to apply over the results of the
nested_query
.Requires:
- A minimum of one and maximum of five aggregations per query.
#aggregations=
def aggregations=(value) -> ::Array<::Google::Cloud::Datastore::V1::AggregationQuery::Aggregation>
-
value (::Array<::Google::Cloud::Datastore::V1::AggregationQuery::Aggregation>) —
Optional. Series of aggregations to apply over the results of the
nested_query
.Requires:
- A minimum of one and maximum of five aggregations per query.
-
(::Array<::Google::Cloud::Datastore::V1::AggregationQuery::Aggregation>) —
Optional. Series of aggregations to apply over the results of the
nested_query
.Requires:
- A minimum of one and maximum of five aggregations per query.
#nested_query
def nested_query() -> ::Google::Cloud::Datastore::V1::Query
- (::Google::Cloud::Datastore::V1::Query) — Nested query for aggregation
#nested_query=
def nested_query=(value) -> ::Google::Cloud::Datastore::V1::Query
- value (::Google::Cloud::Datastore::V1::Query) — Nested query for aggregation
- (::Google::Cloud::Datastore::V1::Query) — Nested query for aggregation