NODE.JS

(mongoDB) findOneAndUpdate가 update된 항목을 return 하지 않을 때

dodop 2021. 8. 5. 22:56

 

 

 

{new:true}항목을 추가해주면된다. 

 

넘나 간단 😅