allow passing in batch size as `-b 1000` for collections which is too large for memory to handle .toArray() -> async.map Merge pull request #2 from cryptoquick/master
add in err logging
explicit $set operation for collection.update, to cut back on some mem
batchSize & {native_parser:true}
scrap .toArray() altogether, it doensn't respect {batchSize:true}. use
cursor.each to iterate individually - it runs way faster anywya. note
there's a bug here, it's considering itself finished before it
actually is. If we let it run (by removing db.close() &
process.exit()) it will actually finish up
Merge pull request #3 from HabitRPG/master

allow batch size as `-b 1000` for collections too large for `.toArray() | async.map` in memory