Skip to content

NeDB findOneAndUpdate(): Add 'manual' option to allow field modifiers#44

Open
Hipnosis183 wants to merge 3 commits into
Luidog:masterfrom
Hipnosis183:master
Open

NeDB findOneAndUpdate(): Add 'manual' option to allow field modifiers#44
Hipnosis183 wants to merge 3 commits into
Luidog:masterfrom
Hipnosis183:master

Conversation

@Hipnosis183

Copy link
Copy Markdown

Marpat uses the modifier { $set: { values } } by default, making impossible the use of NeDB update field modifiers, most notably $unset.

The use of { manual: true } as an option allows to specify these.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant