title: Finding first 20 documents from collection in mongodb
body: <p>I want to display first 20 records from collection on one Jframe and next 20 on another frame . I am newbie to MongoDB. please suggest a query to find first 20 and next 20 documents.</p>