ecto_resource
ecto_resource copied to clipboard
Support limit and offset in `all_` functions
Branched off of #30 since I'm using both changes, but this could easily be pointed at main.
Does two things:
1. Refactors the option parsing in all to use a reduce. This makes it a bit easier to options that don't have an easy default (like where: []) since it will only apply options that are present.
2. Adds support for :limit and :offset options.