![](/img/trans.png)
[英]Is there any option that returns newly updated or created document with full object instead of count in mongoose bulkWrite() method?
我想在 bulkWrite 操作中執行上述操作。 但在 bulkWriteRes 中,我只得到這些細節。 我想要整個更新 object 無論是創建還是更新,包括提交的 _id,我在過濾器和更新屬性中傳遞的字段。 有什么選擇嗎? ...