returnOriginal vs returnNewDocument

46 views
Skip to first unread message

Rafael Schettino

unread,
May 3, 2017, 10:28:43 AM5/3/17
to node-mongodb-native
In mongoDb official documentation, there is an option called "returnNewDocument" in function "findOneAndUpdate".
Why this option was created as "returnOriginal = !returnNewDocument" in mongoDB node driver?
Reply all
Reply to author
Forward
0 new messages