checkiz / elixir-mongo

MongoDB driver for Elixir
MIT License
101 stars 31 forks source link

Bug: last batch is not returned while reducing Mongo.Cursor #19

Closed x4lldux closed 9 years ago

x4lldux commented 9 years ago

When there are more documents then the size of a batch, reducer calls for next batch but incorrectly handles last batch and ignores it.