1. db.bios.find().sort( { name: 1 } ).limit( 5 ) 2. db.bios.find().limit( 5 ).sort( { name: 1 } )
- What is the different with them? They are equal?
- If first one doing: find all documents? it is bad.
If db.bios.find().count() is very big(1000000), which process fast? - what is find() default sequence? the insert sequence? Thanks.