Google Cloud Datastore v1 API - Class Aggregations (4.5.0)

public static class Aggregations

Reference documentation and code samples for the Google Cloud Datastore v1 API class Aggregations.

Factory for different types of Aggregations.

Inheritance

object > Aggregations

Namespace

GoogleCloudGoogle.Cloud.DatastoreV1

Assembly

Google.Cloud.Datastore.V1.dll

Methods

Count(string)

public static AggregationQuery.Types.Aggregation Count(string alias = "")

Returns an instance of count(*) aggregation.

Parameter
NameDescription
aliasstring

A string used to retrieve the result of this aggregation. If not provided, Datastore will pick a default name following the format property_<incremental_id++> eg. property_1

Returns
TypeDescription
AggregationQueryTypesAggregation

A count(*) aggregation.