I'm using the mongodb-native-driver and I don't understand very well why they always set a batchSize=1 in the doc examples.
http://mongodb.github.io/node-mongodb-native/2.0/api/AggregationCursor.html#each
According to the offical doc, a batchSize equal to 1 shouldn't be used: https://docs.mongodb.org/v3.0/reference/method/cursor.batchSize/
What happens if I set a batchSize=1? Does it force to go to the database each time I retrieve a document?
It sounds really strange to me... The two references are official sources so I think I'm missing something.