We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Options is the third parameter for the updateMany method, but is currently hard coded to DO_NOT_UPSERT.
updateMany
DO_NOT_UPSERT
Support of the following would be nice:
updateMany( { 'foo': { $elemMatch: { 'bar': 0 } } }, { $set: { 'foo.$[x].bar': 1 } }, { arrayFilters: [{ 'x.bar': 0 }] } )
At the moment I have to request the whole document, update the document manually with code and patch it afterwards.
Support another parameter options next to filter and pass additional options to mongodb.
options
filter
The text was updated successfully, but these errors were encountered:
Added to RESTHeart v7 roadmap #425
Sorry, something went wrong.
@ujibang is this in the 7.x release yet?
ujibang
No branches or pull requests
Options is the third parameter for the
updateMany
method, but is currently hard coded toDO_NOT_UPSERT
.Expected Behavior
Support of the following would be nice:
Current Behavior
At the moment I have to request the whole document, update the document manually with code and patch it afterwards.
Possible Implementation
Support another parameter
options
next tofilter
and pass additional options to mongodb.The text was updated successfully, but these errors were encountered: