Retrieve Every 5th Consecutive Document in a Sorted Collection

后端 未结 0 1132
既然无缘
既然无缘 2020-12-22 01:18

I have a project where I am graphing data from MongoDB. I want to retrieve every 5th document from a sorted-by-date collection. Currently, I get the results I require using

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