google_api_datastore v0.4.0 GoogleApi.Datastore.V1.Model.Query View Source

A query for entities.

Attributes

  • distinctOn (list(GoogleApi.Datastore.V1.Model.PropertyReference.t)): The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Defaults to nil.
  • endCursor (String.t): An ending point for the query results. Query cursors are returned in query result batches and can only be used to limit the same query. Defaults to nil.
  • filter (GoogleApi.Datastore.V1.Model.Filter.t): The filter to apply. Defaults to nil.
  • kind (list(GoogleApi.Datastore.V1.Model.KindExpression.t)): The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified. Defaults to nil.
  • limit (integer()): The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified. Defaults to nil.
  • offset (integer()): The number of results to skip. Applies before limit, but after all other constraints. Optional. Must be >= 0 if specified. Defaults to nil.
  • order (list(GoogleApi.Datastore.V1.Model.PropertyOrder.t)): The order to apply to the query results (if empty, order is unspecified). Defaults to nil.
  • projection (list(GoogleApi.Datastore.V1.Model.Projection.t)): The projection to return. Defaults to returning all properties. Defaults to nil.
  • startCursor (String.t): A starting point for the query results. Query cursors are returned in query result batches and can only be used to continue the same query. Defaults to nil.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.