Lazy queries on Ecto?

Hi guys! Is there some way to have something similar to lazy queries on Ecto? I would like to paginate with Scrivner a query that was already executed with Repo.all() to avoid a function in the context/domain returning a base query instead of a record set…

Thanks!!