Articles → MONGODB → Skip Method In MongodbSkip Method In MongodbIn this article, we will discuss the skip() method in MongoDB.Purpose The skip() method is used to skip a specified number of documents in a collection and return the remaining documents.Example Consider the following collection: -We will skip the first record using the skip() method. For that, we will use the following query: -db.[collection].find().skip(1)Output Posted By - Karan Gupta Posted On - Friday, March 15, 2024 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
db.[collection].find().skip(1)
Query/Feedback