Ecto alternative of find_in_batches?



What’s the simplest way of going over an extremely large set of records in a database? Is there something like Rails’ find_in_batches in Ecto?

#2 You can see in the docs it takes a :max_rows of 500, which is the same as the batch size in find_in_batches.