
TypeScript
- 1 ответ
- 0 вопросов
0
Вклад в тег
> db.locations.update({ name: 'Starcups'}, { $push: { reviews: { author: 'Simon Holmes', id: ObjectId(), //INCORRECT rating: 5, timestamp: new Date("Jul 16, 2013"), reviewText: "What a great place. I can't say enough good things about it." } } });