View Source GoogleApi.Datastore.V1.Model.Count (google_api_datastore v0.22.0)

Count of entities that match the query. The COUNT(*) aggregation function operates on the entire entity so it does not require a field reference.

Attributes

  • upTo (type: String.t, default: nil) - Optional. Optional constraint on the maximum number of entities to count. This provides a way to set an upper bound on the number of entities to scan, limiting latency, and cost. Unspecified is interpreted as no bound. If a zero value is provided, a count result of zero should always be expected. High-Level Example: AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k ); Requires: * Must be non-negative when present.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Datastore.V1.Model.Count{upTo: String.t() | nil}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.