Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce compile-time SQL verification #124

Open
shah opened this issue Jul 4, 2023 · 0 comments
Open

Introduce compile-time SQL verification #124

shah opened this issue Jul 4, 2023 · 0 comments
Labels
🆗 Assurance Quality assurance, linting, error detection

Comments

@shah
Copy link
Contributor

shah commented Jul 4, 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).

@shah shah added the 🆗 Assurance Quality assurance, linting, error detection label Jul 4, 2023
@shah 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆗 Assurance Quality assurance, linting, error detection
Projects
None yet
Development

No branches or pull requests

1 participant