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

?column__in=value1,value2,value3 filter #433

Closed
simonw opened this issue Apr 15, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@simonw
Copy link
Owner

commented Apr 15, 2019

Support for the SQL where column in (...) construct, inspired by the new design for facet configuration in #427

?column__in=value1,value2,value3 will map to where column in ("value1", "value2", "value3")

If comma separation won't work (because the values themselves contain commas) you can do this instead:

?column__in=["value1","value2","value3,with-comma"]

See also #288

simonw added a commit that referenced this issue Apr 15, 2019

Extract and refactor filters into filters.py
This will help in implementing __in as a filter, refs #433

@simonw simonw closed this in 1c6649b Apr 15, 2019

simonw added a commit that referenced this issue Apr 15, 2019

Extract and refactor filters into filters.py
This will help in implementing __in as a filter, refs #433

simonw added a commit that referenced this issue Apr 15, 2019

simonw added a commit that referenced this issue May 2, 2019

Extract and refactor filters into filters.py
This will help in implementing __in as a filter, refs #433

simonw added a commit that referenced this issue May 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.