Join Slack
Powered by
How can i make an aggregate sum function return 0 ...
# orm-help
h
Halvor
10/14/2021, 8:37 AM
How can i make an aggregate sum function return 0 if not records instead of “null” ?
r
Ryan
10/14/2021, 9:42 AM
@Halvor
👋 Currently that’s not possible, but you can add it after you fetch the data.
h
Halvor
10/14/2021, 10:54 AM
Is there an efficient way to that, that doesn’t include manually checking each column?
r
Ryan
10/14/2021, 11:51 AM
Unfortunately not at the moment.
h
Halvor
10/14/2021, 11:52 AM
Ok thx
👍 1
25
Views
Open in Slack
Previous
Next