I have succesfully implemented a Next button in my application which loops through a collection and searches for the next document when the next button is pressed. I did this through,
DBCursor foo = coll.find().skip(count).limit(1); count++; //
after a user suggested me to do this. It worked. Now i want to implement the previous button. Any ideas?
I assume you just need to do something like this: