How to convert sql.raw`` to camelCase?
I have queries I need to run with sql.raw but I'd like the result to come out neatly just how it comes with the typical Drizzle driver. Is it possible? Or do I have to do this manually?
Actually, before relational queries, I did this when using
json_agg
and had to both convert snake_case to camelCase and handle date strings to date object (as it's how it's formatted in my schema).
Many thanks!0 Replies