Efficient paging in MongoDB using mgo
Unfortunately the mgo.v2 driver does not provide API calls to specify cursor.min(). But there is a solution. The mgo.Database type provides a Database.Run() method to run any MongoDB commands. The available commands and their documentation can be found here: Database commands Starting with MongoDB 3.2, a new find command is available which can be used … Read more