C# MongoDB: How to do a find query with min and max?

前端 未结 0 1209
醉梦人生
醉梦人生 2020-12-21 13:48

I have this MongoDB console command:

db.transactions.find({itemid: 1234}).min({time: 1608526637000}).max({time: 1608525314845}).hint({time: -1})
相关标签:
回答
  • 消灭零回复
提交回复
热议问题