You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One interesting feature of sqlx is compile-time SQL verification without using a special DSL. We should either use that same approach for testing generating SQL against a real PostgreSQL or other enterprise database (like we do for SQLite) or we can see if sqlx crate can be used directly in Deno.
shah
changed the title
See if sqlx Rust crate can be used as Deno plugin to use compile-time SQL verification
Introduce compile-time SQL verification
Jul 5, 2023
One interesting feature of sqlx is compile-time SQL verification without using a special DSL. We should either use that same approach for testing generating SQL against a real PostgreSQL or other enterprise database (like we do for SQLite) or we can see if
sqlx
crate can be used directly in Deno.In addition check out tree-sitter with SQL grammar for tree-sitter.
We can also use sqlparser-rs (see Parsing SQL with Rust Reddit thread for other ideas).
The text was updated successfully, but these errors were encountered: