Get number of documents per field in MongoDB, like Studio3T Schema operation

前端 未结 0 1813
青春惊慌失措
青春惊慌失措 2021-01-29 03:47

How do I obtain the distribution of fields among a MongoDB collection, i.e the total count of documents for each field ?

E.g. considering these documents :



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