阅读背景:

查询mongodb中的top N行。

来源:互联网 

I want to fetch 100 records from a student collection sort by name. Now i want to get student who has marks greater than x in this 100 records only. Can any one please help in solving this. When i give Max(marks) in query it is executing before the sort and skip.I want to fetch 100 records from a student coll




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: