Skip to content

Conversation

@kyleconroy
Copy link
Collaborator

Instead of always preparing a query when running vet, opt-in to doing it with the db-prepare rule.

Instead of always preparing a query when running vet, opt-in to doing it
with the `db-prepare` rule.
@kyleconroy kyleconroy merged commit 6fd9950 into main Jun 30, 2023
@kyleconroy kyleconroy deleted the kyle/db-prepare-rule branch June 30, 2023 21:30
alfonsodev pushed a commit to ExponentiaTeam/sqlc that referenced this pull request Oct 13, 2025
* feat(cmd/vet): Add built-in db-prepare rule

Instead of always preparing a query when running vet, opt-in to doing it
with the `db-prepare` rule.

* Error if db-prepare is used when a database connection isn't available

* namespace db-prepare
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants