Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

MongoDB Tips

Yancey Leo edited this page Mar 26, 2020 · 1 revision

findOneAndRemove 和 findOneAndDelete

findOneAndRemove() 会被转成 findAndModify(), findOneAndDelete() 就是纯粹的删除, 没有特殊情况用 findOneAndDelete.

Clone this wiki locally