We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is part of Plywood/PlyQL and is currently being done using javascript
javascript
SELECT COUNT(*) AS 'Count' FROM `people` WHERE `age` BETWEEN 18 AND 30
Note: age is a dimension
Right now I have to do:
{ "type": "javascript", "dimension": "age", "function": "function(a) { a = Number(a); return 18 <= a && a < 30; }" }
Sometimes I have to filter on a range of string values like so:
{ "type" : "javascript", "dimension" : "name", "function" : "function(x) { return(x >= 'bar' && x <= 'foo') }" }
I would love it if you could add a between filter
Something like:
{ "type": "between", "dimension": "age", "lower": 18, "upper": 30 }
The bounds to default to lower <= x <= upper but should be configurable
lower <= x <= upper
The text was updated successfully, but these errors were encountered:
Fixed by #1936
Sorry, something went wrong.
No branches or pull requests
This is part of Plywood/PlyQL and is currently being done using
javascript
Note: age is a dimension
Right now I have to do:
Sometimes I have to filter on a range of string values like so:
I would love it if you could add a between filter
Something like:
The bounds to default to
lower <= x <= upper
but should be configurableThe text was updated successfully, but these errors were encountered: