We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloud Datastore API have support of insert and update as primitive mutation but google-cloud-go support upsert and delete only. https://cloud.google.com/datastore/docs/reference/rpc/google.datastore.v1?hl=en#mutation
insert
update
google-cloud-go
upsert
delete
We often implement insert or update using transaction. It can be avoided by support primitive insert and update.
Ruby and Node.js and .NET client library already support it. googleapis/google-cloud-ruby#680 https://cloud.google.com/nodejs/docs/reference/datastore/1.3.x/DatastoreRequest#save http://googlecloudplatform.github.io/google-cloud-dotnet/docs/Google.Cloud.Datastore.V1/api/Google.Cloud.Datastore.V1.Mutation.html
I guess the reason may be that AppEngine SDK haven't support of the mutation options and it can be confusing.
(Added) I noticed that Java and PHP client library also support it.
The text was updated successfully, but these errors were encountered:
Moved to https://github.com/GoogleCloudPlatform/google-cloud-go/wiki/Feature-Backlog.
Sorry, something went wrong.
This was done in 02a2d93.
jba
No branches or pull requests
Cloud Datastore API have support of
insert
andupdate
as primitive mutationbut
google-cloud-go
supportupsert
anddelete
only.https://cloud.google.com/datastore/docs/reference/rpc/google.datastore.v1?hl=en#mutation
We often implement
insert
orupdate
using transaction.It can be avoided by support primitive
insert
andupdate
.Ruby and Node.js and .NET client library already support it.
googleapis/google-cloud-ruby#680
https://cloud.google.com/nodejs/docs/reference/datastore/1.3.x/DatastoreRequest#save
http://googlecloudplatform.github.io/google-cloud-dotnet/docs/Google.Cloud.Datastore.V1/api/Google.Cloud.Datastore.V1.Mutation.html
I guess the reason may be that AppEngine SDK haven't support of the mutation options and it can be confusing.
(Added) I noticed that Java and PHP client library also support it.
The text was updated successfully, but these errors were encountered: