Answers for "how to do count distinct in mongodb in aggregation step"

4

mongodb count distinct

db.collection.distinct('field').length
Posted by: Guest on April-24-2020

Code answers related to "how to do count distinct in mongodb in aggregation step"

Browse Popular Code Answers by Language