MongoDB - skip top N documents from collection

Professionaluser
Posted by Professionaluser under Sql Server category on | Points: 40 | Views : 390
Skip() method can be used to skip top N documents from a collection. This skip() method is useful for paging.

>db.CollectionName.find({}).skip(2).limit(2)

Comments or Responses

Login to post response