sqlc
sqlc copied to clipboard
Propose add prepare query for single query
What do you want to change?
Currently, the Prepare SQL Statement Function is being set up with all SQL statements. In sql, there are statements I want to set up and prepare, there are statements I don't want. How do I do it?
What database engines need to be changed?
MySQL
What programming language backends need to be changed?
Go
+1 for SQLite. Looking at the generated code currently, it should be fairly trivial as each prepared query has its own struct field, so we just need to decide on an API to prepare individual queries.