Using cursor.batchSize() with db.collection.find()
I am trying to use cursor.batchSize() with db.collection.find() const MongoClient = require('mongodb').MongoClient; const url = 'mongodb://127.0.0.1'; const dbName = 'users' MongoClient.connect( url, ( err, client) => { var cursor = client.d...