How to ARRAY_AGG two columns into one item in SQLAlchemy?

Viewed 2464

Can anybody suggest how to convert this code into SQLAlchemy code?

ARRAY_AGG(DISTINCT (table.column_a, table.column_b)) AS label
1 Answers
Related