A
A
Apach12018-09-08 15:44:10
MongoDB
Apach1, 2018-09-08 15:44:10

What are the options for updating documents in MongoDB every day?

I welcome everyone. I am using nodejs and mongodb(mLab). Task: each user has several documents associated with him in the database, it is necessary to update several fields in them every day. Currently, this update occurs on the first user login of the day. Will this method be very overhead if the number of documents (required for daily updating) grows many times? Is there a way to update on the database side? Or any other options? Thank you in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2018-09-10
@Apach1

Yes, I think, as an option, it will be to write a small program that will update the fields every day on the crown.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question