tributary
tributary copied to clipboard
A simple stream generation library for Ecto queries that facilitates more efficient paging of queries both in the database and in your Ecto-reliant applicaton.
Because Ecto 1.3 introduces a `Repo.stream` I thought it would be good to get rid of the macros altogether. So now instead of `Repo.stream` you would call `Tributary.stream(Repo, ...)` Also...
It looks like the latest Ecto now has a `Repo.stream` https://github.com/elixir-ecto/ecto/blob/master/lib/ecto/repo.ex#L143 Should I switch to the built-in method? Do it work like Tributary?
Using tributary with a query such as this … ``` q = from c in Chunk, order_by: [desc: c.sequence] ``` … and `initial_key` set to one greater than the last...
Tributary currently has dependency on Postgrex "~> 0.11.2" but Postgrex is now at 0.12.1.
Currently, non-integer keys require the first key to be specified, but because of the way that the seek method is constructed it will skip the first specified key. Solution: The...