I like to add several documents to the collection in meteor at once.
MongoDB supports this from 2.2:
db.collection.insert([{docNumber: 1},{docNumber: 2}])
Is it possible to achieve the same behavior in the Meteor? Sort of:
myCollection.insert([{docNumber: 1},{docNumber: 2}])
Currently, this will be added as one document. Unfortunately, I cannot live with an iterator, because in case of use, more than 100,000 documents are loaded. It slows down with separate inserts.
loomi source share