How to loop through a Collection and do operations - Mongodb, Nodejs

后端 未结 0 657
小蘑菇
小蘑菇 2020-11-28 18:38

I have a Mongo Collection with a few thoundsand entries and want to run an .findOneAndUpdate() on each entry. Is there an Mongo operation or so to loop through a hole collec

相关标签:
回答
  • 消灭零回复
提交回复
热议问题