gothinkster/gcp-datastore-cloud-functions-realworld-example-app

Why use upsert on Create

quantuminformation opened this issue · 0 comments

If we know the user doesn't exist, why not use an insert to be more clear?

await ds.upsert({ key: userKey, data: userRecord });