Reputation: 42444
I use below command to find documents in mongodb shell.
> db.companies.find().limit(1).count()
18801
you can see the output is 18801 which means the limit(1)
function doesn't have any impact on the command. Did I miss anything wrong?
Upvotes: 0
Views: 68