JasonShin / sqlx-ts

node.js compile-time SQL validations & type generations
https://jasonshin.github.io/sqlx-ts/
MIT License
179 stars 6 forks source link

PG Json functions #190

Open hillac opened 1 week ago

hillac commented 1 week ago

Will this support row_to_json, json_build_object, json_agg etc in the future?

JasonShin commented 6 days ago

Hey, potentially it is possible if I can query PG json field's schema (I believe mysql8 supports that as well)

Not sure if we can workout advanced functions like json agg. I can take a look