How to update an array by matching a single field with $[] in MongoDB?

前端 未结 0 1079
野性不改
野性不改 2021-01-06 20:42

I am trying to do an update query on MongoDB.
Here is the request :

db.test.update({
        \'id\': 1,
        \         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题