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

后端 未结 0 1703
无人及你
无人及你 2020-12-23 01:58

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

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