I've got a 200GB BSON file from Mongo, and I want to parse it as a stream: process each element in the list independently. It would be great if there was a version of decode_document which yield-ed parsed objects instead of putting them into an array.
I've got a 200GB BSON file from Mongo, and I want to parse it as a stream: process each element in the list independently. It would be great if there was a version of
decode_document
whichyield
-ed parsed objects instead of putting them into an array.