-
Notifications
You must be signed in to change notification settings - Fork 639
Closed
Labels
🚨This issue needs some love.This issue needs some love.api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.triage meI really want to be triaged.I really want to be triaged.
Milestone
Description
One thing I'd like is more features than just .save(). At the moment, I'm inserting a kind=User with name=chilts. However if I were to have another user ask for the name 'chilts', then .save() will say "Oh, the key is complete, so I'll do an update". I would like to make it try an insert and fail because that name already exists (ie. the primary key) ... is that currently possible via your api (from what I can tell it isn't)?
I love how all of the thorny details are abstracted away, but possibly exposing more of the API through here would be awesome. i.e. .insert(), .update() as well as .save(). Sometimes the key logic in .save() isn't needed.
Thanks again for a great library.
Metadata
Metadata
Assignees
Labels
🚨This issue needs some love.This issue needs some love.api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.triage meI really want to be triaged.I really want to be triaged.