> For the complete MongoDB documentation index, see www.mongodb.com/docs/llms.txt

# Skip a Number of Documents

MongoDB Compass Readonly Edition will be deprecated in a future release. To replicate the read-only behavior in a standard Compass edition, assign users [`read`](https://www.mongodb.com/docs/manual/reference/built-in-roles.md#mongodb-authrole-read) access at the database level and enable the [readOnly](https://www.mongodb.com/docs/compass/settings/read-only.md#std-label-compass-read-only) option in Compass.

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

## Set Documents to Skip

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](/images/querybar/query-skip-success.png)

3. Click Find to run the query and view the updated results.

   **Note:**

   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.](https://www.mongodb.com/docs/compass/sampling.md#std-label-compass-sampling)

## Clear the Query

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

## How Does the Compass Query Compare to MongoDB and SQL Queries?

[`$skip`](https://www.mongodb.com/docs/manual/reference/operator/aggregation/skip.md#mongodb-pipeline-pipe.-skip) corresponds to the `LIMIT ... OFFSET ...` clause in a SQL (Structured Query Language) `SELECT` statement.

**Example:**

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.

SQL

```sql
SELECT * FROM article
LIMIT 50 OFFSET 435;
```

MongoDB Aggregation

```javascript
db.article.aggregate(
  { $limit : 50 },
  { $skip : 435 }
);
```

Compass Skip Option

```javascript
$skip : 435
```

## Learn More

See the `skip` entry in the [MongoDB Manual.](https://www.mongodb.com/docs/manual/reference/method/cursor.skip/)
