This allows for importing larger files, which is very useful when doing a full "restore" of a collection after replacing it.
Change Summary
This adds an importStream function, similar to the exportStream function already on Collections. Very useful for importing a large file that was exported via exportStream.
Similar to
exportStream
for documents, this adds a new option to IMPORT via a Node.js Stream:This allows for importing larger files, which is very useful when doing a full "restore" of a collection after replacing it.
Change Summary
This adds an
importStream
function, similar to theexportStream
function already on Collections. Very useful for importing a large file that was exported viaexportStream
.PR Checklist