ds_wrapper v0.1.1 DsWrapper.Mutation View Source
Link to this section Summary
Functions
Create new GoogleApi.Datastore.V1.Model.Mutation
s for delete.
Create new GoogleApi.Datastore.V1.Model.Mutation
s for insert.
Create new GoogleApi.Datastore.V1.Model.Mutation
s for update.
Create new GoogleApi.Datastore.V1.Model.Mutation
s for upsert.
Link to this section Functions
Create new GoogleApi.Datastore.V1.Model.Mutation
s for delete.
Examples
iex> DsWrapper.Mutation.for_delete(DsWrapper.Key.new(...))
[%GoogleApi.Datastore.V1.Model.Mutation{delete: ...}]
Create new GoogleApi.Datastore.V1.Model.Mutation
s for insert.
Examples
iex> DsWrapper.Mutation.for_insert(DsWrapper.Entity.new(...))
[%GoogleApi.Datastore.V1.Model.Mutation{insert: ...}]
Create new GoogleApi.Datastore.V1.Model.Mutation
s for update.
Examples
iex> DsWrapper.Mutation.for_update(DsWrapper.Entity.new(...))
[%GoogleApi.Datastore.V1.Model.Mutation{update: ...}]
Create new GoogleApi.Datastore.V1.Model.Mutation
s for upsert.
Examples
iex> DsWrapper.Mutation.for_upsert(DsWrapper.Entity.new(...))
[%GoogleApi.Datastore.V1.Model.Mutation{upsert: ...}]