InterviewSolution
DB.<collection>.find().skip(N).limit(n)
Note: n is the pagesize, for the first page skip(n) will not be applicable
limit(n) LIMITS the documents to be RETURNED from the cursor to n, skip(n) will skip n documents
from the cursor
Your experience on this site will be improved by allowing cookies. Read Cookie Policy