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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am struggling to use Postgres'
array_agg
with theFILTER
aggregate keyword (see https://www.postgresql.org/docs/current/sql-expressions.html#SYNTAX-AGGREGATES>)The syntax is like this (but can be used with aggregates in general):
I can map the
array_agg
using a customIden
:Using it as:
However, I am struggling to add the
filter (where …)
part.Beta Was this translation helpful? Give feedback.
All reactions