# Finding Documents

Finding Documents: Finding Documents with Filters, Sorting and Paging Results.

Updated: November 19, 2026

1. [Finding Documents with Filters](https://www.ask-codey.com/lessons/node-mongodb-find-and-filters) (Apprentice): A filter object tells find and findOne which documents you want, with operators such as $gte and $in for comparisons, dot notation for a field inside a field, an ObjectId to find one document by its id, and a projection to send back only the fields you need.
2. [Sorting and Paging Results](https://www.ask-codey.com/lessons/node-mongodb-sort-and-paging) (Journeyman): sort puts a query's results in order, skip and limit cut out one page of them, and countDocuments counts every match, so an API can answer with page 2 of 3 instead of every document at once.

Source: https://www.ask-codey.com/courses/nodejs-in-depth/topics/node-mongodb-finding
