0 votes
in MongoDB by
In a collection that contains 100 post documents, what does below command do?

db.posts.find().skip(5).limit(5)

A - Skip and limit nullify each other. returning the first five documents.

B - Skips the first five documents and returns the sixth document five times

C - Skips the first five documents and returns the next five

D - Limits the first five documents and then return them in reverse order

1 Answer

0 votes
by

Ans is 

Skips the first five documents and returns the next five

Related questions

0 votes
asked Jun 17, 2020 in MongoDB by AdilsonLima
0 votes
asked Jun 17, 2020 in MongoDB by AdilsonLima
...