Explanation:limit() corresponds to the LIMIT statement in SQL. 10. Which of the following line skips the first 5 documents in the bios collection and returns all remaining documents ?
A. db.bios.find().limit( 5 )
B. db.bios.find().skip( 1 )
C. db.bios.find().skip( 5 )
D. db.bios.find().sort( 5 )
Answer:A
Explanation:limit() corresponds to the LIMIT statement in SQL. 10. Which of the following line skips the first 5 documents in the bios collection and returns all remaining documents ?
A. db.bios.find().limit( 5 ) B. db.bios.find().skip( 1 ) C. db.bios.find().skip( 5 ) D. db.bios.find().sort( 5 )
Explanation:The skip() method controls the starting point of the results set. Sanfoundry Global Education & Learning Series – MongoDB.