sqlc
sqlc copied to clipboard
Generate type-safe code from SQL
### What do you want to change? It would be great if sqlc could leave upper-case letters as upper-case when mapping SQL identifiers to Go identifiers. The existing behavior works...
## Overview This PR introduces comprehensive support for ClickHouse as a database engine in sqlc. It enables users to write ClickHouse queries in `.sql` files and generate type-safe Go code...
and leaving the rest in their original case. closes #4202
This PR adds "go_package" field under "plugin.process" for configurations I'm trying to write plugin for a specific project, so I think it's reasonable to put plugin code alongside the project,...
### What do you want to change? Basically, in any language backend, the SQL would be essentially the same, so why don't we just reuse the same logic that is...
### Version 1.30.0 ### What happened? SQLc fails to resolve the signature for PostgreSQL procedures that contain OUT parameters. Even when providing placeholders (like NULL::type or sqlc.arg), the analyzer cannot...
https://docs.sqlc.dev/en/latest/reference/config.html sqlc.yaml description of these settings is unclear, sorry for creating the issue but discord and github q/a are dead for instance, isn't `pgx` itself IS a driver? But in...
### Version 1.30.0 ### What happened? I put a working demonstration up at https://github.com/timflyio/sqlcbug . There is a query generator bug when using slices and using `sqlc.arg()` or `@` to...
### Version 1.30.0 ### What happened? The generated code for the following schema supplies only one of the two parameters in the query. ```go const getMainSequence = `-- name: GetMainSequence...
## Summary This PR fixes critical parsing issues in the SQLite engine where comparison operators were incorrectly defaulting to `=` and ORDER BY clauses were generating incorrect AST nodes. It...