Posted by: Pdfprep
Post Date: February 1, 2021
In a collection that contains 100 post documents, what does the following command do? db. posts. find().skip(5).limit(5)
A . Skip and limit nullify each other. Hence returning the first five documents.
B . Skips the first five documents and returns the next five
C . Limits the first five documents and then return them in reverse order
D . Skips the first five documents and returns the sixth document five times
Answer: B
Leave a Reply