Friday 21 September 2018

how to loop through collections of a mongodb database?

I want to loop through each collection documents of my database to read properties I've assigned to these documents. I've tried db.collections() and db.listCollections but they do not work for me because they return information about each collection but not the properties that I want to access.

Submitted September 21, 2018 at 10:11PM by xAmrxxx

No comments:

Post a Comment