Skip to content
New issue

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

.upsert #6

Closed
alexberriman opened this issue Jul 14, 2022 · 1 comment · Fixed by #21
Closed

.upsert #6

alexberriman opened this issue Jul 14, 2022 · 1 comment · Fixed by #21
Assignees
Labels
backlog Issues that are marked to be worked on enhancement New feature or request released
Milestone

Comments

@alexberriman
Copy link
Owner

alexberriman commented Jul 14, 2022

Have the ability to insert multiple records at a time.

Should have at minimum the following options:

  • onDuplicate?: "skip" | "replace" | "merge"

Where:

  • skip: new item is ignored
  • replace: old item is replaced with the new item
  • merge: new item is merged into the old item
@alexberriman alexberriman added enhancement New feature or request backlog Issues that are marked to be worked on labels Jul 14, 2022
@alexberriman alexberriman self-assigned this Jul 14, 2022
@alexberriman alexberriman changed the title .insertMany .upsert Jul 15, 2022
@alexberriman alexberriman added this to the v1.0 milestone Jul 19, 2022
@alexberriman
Copy link
Owner Author

🎉 This issue has been resolved in version 0.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Issues that are marked to be worked on enhancement New feature or request released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant