Get document's array's length without getting its contents - Mongoose

后端 未结 0 1721
孤独总比滥情好
孤独总比滥情好 2020-12-23 01:37

Is there a way to get an array\'s length (that\'s a child of a document) without getting the actual data or the overall item itself in Mongoose?

The way I know to get

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