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

Handling ranges with optional parameters #3

Closed
Yihwan opened this issue Aug 21, 2018 · 2 comments
Closed

Handling ranges with optional parameters #3

Yihwan opened this issue Aug 21, 2018 · 2 comments

Comments

@Yihwan
Copy link

Yihwan commented Aug 21, 2018

Hey Chris! Any tips on how to filter with optional min/max query parameters? Optional meaning users could query one, both, or none.

For example:

count_min=5 -> would return all results greater than 5
count_min=5?count_max=10 -> would return all results between 5 and 10 inclusive

@Yihwan
Copy link
Author

Yihwan commented Aug 21, 2018

Nvm, figured it out! :)

@Yihwan Yihwan closed this as completed Aug 21, 2018
@chrisfrank
Copy link
Owner

@Yihwan apologies for not seeing this when you posted it! I only recently realized I wasn't subscribed to all notifications from this repo. Glad you sorted it out — please feel free to open other issues if you run into other questions.

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

No branches or pull requests

2 participants