+ 1
mongodb mongoose
how to add new properties in the mongoose database
1 Réponse
0
db.collection.update({'_id' : ObjectId(...)},
{'$set' : {'create_time' : datetime(..) }})
Use $set Operator
how to add new properties in the mongoose database