mongodb: should i always use the 'safe' option on updates

后端 未结 3 1817
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-08 10:58

when dealing with mongodb, when should i use the {safe: true} on queries?

Right now I use the \'safe\' option just to check if my queries were inserted or updated succes

3条回答
提交回复
热议问题