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

`tern` allows sql scripts reference scripts in sub folders with the syntax `{{ template "path/to/script" . }}`. `sqlc` does not accept this syntax appears within migration scripts, which means you...

:wrench: golang
size:M

### What do you want to change? A query may be expected to only match a single row, but due to bugs, ends up accidentally matching multiple rows. Rather than...

enhancement

### Version 1.30.0 ### What happened? I'm using MySQL with `sqlc` and encountered an issue where the generated `Params` struct includes duplicated parameters when running a query that: - Joins...

bug
:books: mysql
:wrench: golang
:computer: darwin

fixes https://github.com/sqlc-dev/sqlc/issues/4052 The generated QueryParams struct for the example from the issue is indeed: ```go type SearchFoodParams struct { Food string FoodType *FoodType } ``` I wrote [a minimal example](https://github.com/stampflit/sqlc-minimal-repro-playground)...

:wrench: golang
size:XS