Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support limit and offset in all_ functions #31

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

jakeprem
Copy link
Contributor

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.

Add additional option support for limits and offsets. Also refactored
to use a reduce as it makes it easier to only apply query changes
for options that are present.
@joseph-lozano joseph-lozano merged commit 27777d3 into testdouble:main Nov 18, 2024
7 checks passed
@jakeprem jakeprem deleted the allow_limit_in_all branch November 22, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants