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
Is your feature request related to a problem? Please describe. While group_by is implemented, somehow having isn't, making group_by somewhat silly.
group_by
having
Describe the solution you'd like Implement having() mechanism.
having()
$ sq '.payment | .customer_id, sum(.amount) | group_by(.customer_id) | having(sum(.amount) > 100)'
The text was updated successfully, but these errors were encountered:
This is implemented in sq v0.46.0.
sq v0.46.0
Sorry, something went wrong.
neilotoole
No branches or pull requests
Is your feature request related to a problem? Please describe.
While
group_by
is implemented, somehowhaving
isn't, makinggroup_by
somewhat silly.Describe the solution you'd like
Implement
having()
mechanism.$ sq '.payment | .customer_id, sum(.amount) | group_by(.customer_id) | having(sum(.amount) > 100)'
The text was updated successfully, but these errors were encountered: