Answer the question
In order to leave comments, you need to log in
How to update one field for all records in one collection in mongodb?
There is a field - viewsMonth, which needs to be reset to zero on the 1st of each month. How can this be done with a single request without getting records from the database and updating by ID?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question