Warum funktioniert meine Abfrage nicht mit mehr als 100 Dokumenten in der Sammlung?Warum gibt mir mongodb nicht mehr als 100 Dokumente?
db.collection('allowedmacs').find().toArray(function(err, docs) {
console.log(docs);
}
err sagt dies:
name: 'MongoError',
message: 'connection destroyed, not possible to instantiate cursor'
Wenn Dokumente < 100 alle gut funktioniert.