sqlc icon indicating copy to clipboard operation
sqlc copied to clipboard

Generate type-safe code from SQL

Results 584 sqlc issues
Sort by recently updated
recently updated
newest added

### 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...

enhancement
:wrench: golang

## 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...

:wrench: golang
size:XXL

and leaving the rest in their original case. closes #4202

:wrench: golang
size:XS

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,...

:wrench: golang
size:M

### 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...

enhancement
:books: mysql
:books: postgresql
:books: sqlite

### 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...

bug
:books: postgresql
:wrench: golang
:computer: linux

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...

bug
:wrench: golang
:books: sqlite
:computer: linux

### 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...

bug
:wrench: golang
:books: sqlite
:computer: linux

## 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...

:wrench: golang
size:XL