Use mongoose virtuals to count entries conditionally

前端 未结 0 2023
抹茶落季
抹茶落季 2020-11-22 15:49

I want add a virtual to my mongoose schema. The goal of the virual is to count the number of document in the same collection that are less than the referenced document. So f

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