ds_wrapper v0.1.1 DsWrapper.Mutation View Source

GoogleApi.Datastore.V1.Model.Mutation wrapper

Link to this section Summary

Link to this section Functions

Create new GoogleApi.Datastore.V1.Model.Mutations for delete.

Examples

iex> DsWrapper.Mutation.for_delete(DsWrapper.Key.new(...))
[%GoogleApi.Datastore.V1.Model.Mutation{delete: ...}]

Create new GoogleApi.Datastore.V1.Model.Mutations for insert.

Examples

iex> DsWrapper.Mutation.for_insert(DsWrapper.Entity.new(...))
[%GoogleApi.Datastore.V1.Model.Mutation{insert: ...}]

Create new GoogleApi.Datastore.V1.Model.Mutations for update.

Examples

iex> DsWrapper.Mutation.for_update(DsWrapper.Entity.new(...))
[%GoogleApi.Datastore.V1.Model.Mutation{update: ...}]

Create new GoogleApi.Datastore.V1.Model.Mutations for upsert.

Examples

iex> DsWrapper.Mutation.for_upsert(DsWrapper.Entity.new(...))
[%GoogleApi.Datastore.V1.Model.Mutation{upsert: ...}]