You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you think it is possible to add a findOneAndUpdate function like in the MongoDB collection ?
With the findOneAndUpdate function, we could use the returnNewDocument param and get the values from the updated object. Then, the values of the new object could be used in the next queries with $ojFuture key !
This would be very useful when update an object with $inc operator for example.
The text was updated successfully, but these errors were encountered:
That could be a useful feature to have but I can't say it'll be added anytime soon. I really don't have a lot of free time right now but it could be part of a future release. PRs are always welcome as well, If you'd like to work on this.
Do you think it is possible to add a findOneAndUpdate function like in the MongoDB collection ?
With the findOneAndUpdate function, we could use the
returnNewDocument
param and get the values from the updated object. Then, the values of the new object could be used in the next queries with$ojFuture
key !This would be very useful when update an object with
$inc
operator for example.The text was updated successfully, but these errors were encountered: