Rasmus Porsager
Rasmus Porsager
Wrt. the last question, there is no difference.
@karlhorky Wouldn't that be better to do in the actual query like this? ```sql const [candidate] = await sql` SELECT ( SELECT json_agg(candidate_creation_request_availability_tags) FROM ( SELECT availability_tags.id AS "availabilityTagId", availability_tags.slug...
Perhaps the postgres.toCamel function could have the properties `column` and `value` added so that you could do: ```sql const sql = postgres({ transform: { from: postgres.toCamel } }) ``` No...
Awesome :) Are you up for that PR ? :)
Neat - yeah, that sounds right..
Thanks a lot for that case @megous - can confirm that doesn't behave as expected! I'm unfortunately quite hung up this week, so not sure I can find time to...
Hmm.. In that case what would you suggest the sql.begin promise should resolve to? I suppose it could be the resolved value from your inner query catch but even so...
Interesting 😊 Could you supply some more details please?
Connection details, Postgres.js version, PostgreSQL version, when does it happen, etc etc.
Ok good info - so everything works except sometimes you receive this error at random. Do you connect directly to a Postgres DB or is there something in between, eg...