Why does the findOneAndUpdate function does not work with comments? #11790
arthur-guesty
started this conversation in
General
Replies: 1 comment
-
This was fixed in #11793 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have tried to add comment to my findAndUpdate query in different methods yet I didn't manage to do that,
When adding comment using .comment()
this.quoteModel.findOneAndUpdate( { _id: new mongoose.Types.ObjectId(quoteId) }, newQuoteObj, { upsert: true, session, $comment: ctx.requestId, }, ).comment("sadas");
Beta Was this translation helpful? Give feedback.
All reactions