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. It should be possible to express queries like:
SELECT * FROM articles ORDER BY CASE WHEN published THEN published_at ELSE timestamptz '1900-01-01' END
However, CaseExpression is not orderable, so you can't do:
CaseExpression
q.Order(goqu.Case(...).Asc())
Describe the solution you'd like Case() should return an orderable expression.
Case()
The text was updated successfully, but these errors were encountered:
feat(#282): allow ordering by case expression
1d55a36
dd8222f
@atombender thank you for your feature request! This has been released under v9.16.0
v9.16.0
Sorry, something went wrong.
Awesome, thanks!
doug-martin
No branches or pull requests
Is your feature request related to a problem? Please describe.
It should be possible to express queries like:
However,
CaseExpression
is not orderable, so you can't do:Describe the solution you'd like
Case()
should return an orderable expression.The text was updated successfully, but these errors were encountered: