Tag Archives: skip()

MongoDB : How to get Top, Bottom,Middle and Range of records

In MongoDB,the limit() methodΒ is used to limit the result set to be returned. You can also use this with various methodsΒ such as sort() and skip() forΒ various combination of requirement. The MS SQL equivalent is TOP function >SELECT TOP 10 * … Continue reading

Posted in MongoDB | Tagged , , | Leave a comment