minquery
minquery copied to clipboard
MongoDB / mgo query that supports efficient pagination (cursors to continue listing documents where we left off).
dear icza: if select a large table, error may be occured like this: q.err:Executor error during find command :: caused by :: Sort excee ded memory limit of 104857600 bytes,...
a complete case
when I used index like “create_time.seconds” as a cursor field to query data, the program can't get the correct next page token, see the source code: ```go cursorData[i] = bson.DocElem{Name:...
There may already be a way to deduce this from the cursor, I'm not sure, but it would be really nice if the minquery.All function would also return some meta-data...