A writable stream that batches MongoDB inserts.
const Collector_MongoDB =const stream =streamcollection = <your mongodb collection>stream
Create a writable stream. Options:
collection- collection to write to. You can also set this asynchronously as
limit=1000- maximum number of documents to insert at a time
interval=1000- minimum interval to insert
Write an object to the collection.
Force an insert into the collection.