prisma / quaint

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

feat: add sql comments #329

Closed endor closed 2 years ago

endor commented 2 years ago

Allow adding SQL comments for select/insert/update/delete. This can for example be used to add telemetry data to queries similar to https://google.github.io/sqlcommenter/.

pimeys commented 2 years ago

Otherwise looks good, but please add connector level integration tests that demonstrate we get a successful response back and don't crash with all the supported databases.

https://github.com/prisma/quaint/blob/master/src/tests/query.rs