prisma / quaint

SQL Query AST and Visitor for Rust
Apache License 2.0
583 stars 61 forks source link

Added support for 'ROW_TO_JSON' function for postgresql #260

Closed GrandChaman closed 3 years ago

GrandChaman commented 3 years ago

PR to support the issue I just opened.

Maybe it would be nice to create a new Function type that would be accessible only for the Postgresql visitor. In its current state, every visitor could use the newly exposed function, but only Postgresql would be compatible.

I'd love some feedback !

pimeys commented 3 years ago

No this is great. Thank you!