Closed JeremyLoy closed 6 years ago
Hi @JeremyLoy
I'm pretty sure the $filter
can be part of the selector but don't use it myself - a quick google turned this up - does it work for you?
Dom
Ah sorry, different filter! Looks like you're right, it'll probably need an addition to the API.
We're always happy to have a look over a PR!
Dom
I believe this issue can be closed. Let me know if there is anything left to do.
when is this being released?
Related MongoDB Documentation
We have a need to update only a subset of an array. This capability exists in MongoDB as an Array Filter, however that functionality doesn't seem to be exposed in this SDK.
globalsign/mgo/updateOp
would need to be updated. In order to maintain backwards compatibility, newUpdateX
methods would need to be made as changing the signatures would be required. Alternatively, some sort of builder pattern could be exposed.