N
N
Nikita2020-01-16 23:46:12
MongoDB
Nikita, 2020-01-16 23:46:12

Mongoose: How to update the fields of an object in an array that is a model field in MongoDB?

There is a user model, it has a cart field, which is an array of objects, and how can I, using mongoose, add / remove objects in the array, change the values ​​​​of the properties of the objects

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question