You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I aggregate the SUM over the result of an CASE expression? I found there are no aggregate functions such as count or sum when building a CaseStatement.
How can I aggregate the SUM over the result of an CASE expression? I found there are no aggregate functions such as
count
orsum
when building a CaseStatement.https://docs.rs/sea-query/latest/sea_query/query/struct.CaseStatement.html
https://github.com/SeaQL/sea-query/pull/304/files#diff-8f5819aa8f1164e24c550b1dbe468b3fd76da938b9c19e8c17144d64ad463733R993
In plain postgres SQL I would do:
The text was updated successfully, but these errors were encountered: