Docs Menu
Docs Home
MongoDB Compass
/ /

Skip a Number of Documents

If the query bar displays the Skip option, you can specify how many documents to skip before returning the result set.

To specify the number of documents to skip:

  1. In the Query Bar, click Options.

  2. Enter an integer representing the number of documents to skip into the Skip field.

    Results of using the Skip option
    click to enlarge
  3. Click Find to run the query and view the updated results.


    For query result sets larger than 1000 documents, Compass shows a subset of the results. Otherwise, Compass shows the entire result set.

    For details on sampling, see Sampling.

To clear the query bar and the results of the query, click Reset.

See the skip entry in the MongoDB Manual.

$skip corresponds to the LIMIT ... OFFSET ... clause in a SQL SELECT statement.


You have a 3,235 articles. You would like to see a list of articles grouped in blocks of 50, starting with the 436th record.

SELECT * FROM article
MongoDB Aggregation
{ $limit : 50 },
{ $skip : 435 }
Compass Skip Option
$skip : 435
← Set Language Specific Rules for String Comparison