ds_wrapper v0.1.1 DsWrapper.Value View Source
Link to this section Summary
Link to this section Functions
Convert to a GoogleApi.Datastore.V1.Model.Value
.
Examples
iex> DsWrapper.Value.from_native(123)
%GoogleApi.Datastore.V1.Model.Value{integerValue: "123"}
iex> DsWrapper.Value.from_native(123, true)
%GoogleApi.Datastore.V1.Model.Value{integerValue: "123", excludeFromIndexes: true}
Convert from a GoogleApi.Datastore.V1.Model.Value
.
Examples
iex> DsWrapper.Value.to_native(%GoogleApi.Datastore.V1.Model.Value{integerValue: "123"})
123