Description
The code example under the heading view paginated comments on http://docs.mongodb.org/manual/use-cases/storing-comments/ doesn't seem to work.
The code seems to indicate that the find will be run on each iteration of the cursor and update the skip and limit variables. However, this doesn't appear to be the case. The original skip and limit values passed into the find are used on each document matched.