Using json_agg does not format correctly
I've been querying my PSQL DB with the following query
However the array of
It looks like Drizzle do this transformation by default on the
Is there another way of doing my
However the array of
integrations and websites, as queried with json_agg returns me objects with snake_case and Dates that are formatted as string instead of Date.It looks like Drizzle do this transformation by default on the
usersTable by default (ie. when the table is called directly) but not on my json_agg tables which forces me to do this extra formatting step belowIs there another way of doing my
json_agg but that lets Drizzle format correctly the output? Thank you very much !