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

Add update insert (upsert/upinsert...) functionality #100

Open
Viatorus opened this issue Mar 26, 2018 · 1 comment
Open

Add update insert (upsert/upinsert...) functionality #100

Viatorus opened this issue Mar 26, 2018 · 1 comment

Comments

@Viatorus
Copy link
Member

I'm submitting a...


[x] Feature request

Current behavior

Currently, there is no function to do a simple update insert of a document.

Expected behavior

Provide a method to insert or update a document to the collection. The function should check by using unique indices if the document should be inserted or update an existing one.

See techfort/LokiJS/issues/158

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Long requested feature. Many databases support this.

@xkem
Copy link

xkem commented Jun 22, 2021

^^^^^^^^

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

No branches or pull requests

2 participants