Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Why use upsert on Create #44

Open
quantuminformation opened this issue Sep 27, 2019 · 0 comments
Open

Why use upsert on Create #44

quantuminformation opened this issue Sep 27, 2019 · 0 comments

Comments

@quantuminformation
Copy link

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

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant