View Source GoogleApi.Datastore.V1.Model.GqlQuery (google_api_datastore v0.22.0)
A GQL query.
Attributes
-
allowLiterals
(type:boolean()
, default:nil
) - When false, the query string must not contain any literals and instead must bind all values. For example,SELECT * FROM Kind WHERE a = 'string literal'
is not allowed, whileSELECT * FROM Kind WHERE a = @value
is. -
namedBindings
(type:%{optional(String.t) => GoogleApi.Datastore.V1.Model.GqlQueryParameter.t}
, default:nil
) - For each non-reserved named binding site in the query string, there must be a named parameter with that name, but not necessarily the inverse. Key must match regexA-Za-z_$*
, must not match regex__.*__
, and must not be""
. -
positionalBindings
(type:list(GoogleApi.Datastore.V1.Model.GqlQueryParameter.t)
, default:nil
) - Numbered binding site @1 references the first numbered parameter, effectively using 1-based indexing, rather than the usual 0. For each binding site numbered i inquery_string
, there must be an i-th numbered parameter. The inverse must also be true. -
queryString
(type:String.t
, default:nil
) - A string of the format described here.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Datastore.V1.Model.GqlQuery{ allowLiterals: boolean() | nil, namedBindings: %{ optional(String.t()) => GoogleApi.Datastore.V1.Model.GqlQueryParameter.t() } | nil, positionalBindings: [GoogleApi.Datastore.V1.Model.GqlQueryParameter.t()] | nil, queryString: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.