I'm using array_agg to group values into an array. The output for row is:
row: anonymous { values: '{(1),(2)}' }
I'm trying to then loop through the results in Node,
row.values.forEach(... but it says values.forEach is not a function, because typeof row.values is String.
I'm using array_agg, so why is the output a string, and how can I convert it to an array?
array_to_jsonto get something more readily parseable. (Not answering, because I don't know specifically about this driver.)