google_api_datastore v0.4.0 GoogleApi.Datastore.V1.Model.EntityResult View Source
The result of fetching an entity from Datastore.
Attributes
- cursor (String.t): A cursor that points to the position after the result entity.
Set only when the
EntityResult
is part of aQueryResultBatch
message. Defaults tonil
. - entity (GoogleApi.Datastore.V1.Model.Entity.t): The resulting entity. Defaults to
nil
. - version (String.t): The version of the entity, a strictly positive number that monotonically increases with changes to the entity.
This field is set for FULL
entity
results.
For missing entities in LookupResponse
, this
is the version of the snapshot that was used to look up the entity, and it
is always set except for eventually consistent reads. 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 type
t()
View Source
t()
View Source
t() :: %GoogleApi.Datastore.V1.Model.EntityResult{
cursor: String.t(),
entity: GoogleApi.Datastore.V1.Model.Entity.t(),
version: String.t()
}
t() :: %GoogleApi.Datastore.V1.Model.EntityResult{ cursor: String.t(), entity: GoogleApi.Datastore.V1.Model.Entity.t(), version: String.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.