Return total fields count in mongodb

前端 未结 0 1258
栀梦
栀梦 2020-12-01 22:06

Is it possible to retrieve the total fields count with respect to fields name in a single query from a collection?

I am expecting a result like this

{
         


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