Mongoose: $push with object based

后端 未结 0 1970
时光说笑
时光说笑 2021-01-03 17:42

I want to insert a new field to the documents. I am using $push like below.

$push: {
            events: { movies: [] }
        
        }


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