sqlc icon indicating copy to clipboard operation
sqlc copied to clipboard

Generate type-safe code from SQL

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

Currently, `sqlc` errors out when it encounters the multi-argument version of the `UNNEST` function. This is because the function is not marked as variadic. Instead, the argument type is defined...

Bumps [requests](https://github.com/psf/requests) from 2.32.3 to 2.32.4. Release notes Sourced from requests's releases. v2.32.4 2.32.4 (2025-06-10) Security CVE-2024-47081 Fixed an issue where a maliciously crafted URL and trusted environment will retrieve...

dependencies
:wrench: python
python
size:XS

### Summary Using `:copyfrom` in MySQL with `sqlc` and column names that are reserved keywords like `create`, `read`, `update`, `delete` fails with a MySQL syntax error, even if escaped. ###...

:books: mysql

### Version Other ### What happened? (version 1.16.0) `select min(id) from authors;` creates a function that returns an interface{} instead of a NULL-able version of the `id` type. #1574 talks...

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

I have a case where I want to wrap some of the database calls in some internal layers, and would like to have a single params structure that is exposed...

:wrench: golang
size:M

### Version 1.29.0 ### What happened? SQLC has compatibility issues with Doris parser when parsing preprocessed statements for queries with the parameterized keyword 'LIMIT' ### Relevant log output ```shell Error...

bug

If the target file exists on disk already, compare its contents to the generated source in memory: only update the target file on disk if the contents differ or if...

:wrench: golang
size:M

### Version 1.29.0 ### What happened? When `omit_unused_structs` is set, it doesn't generate the Go type for a Postgresql `ENUM` if the enum is referenced in a table as an...

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

This addresses the lint raised by gopls on sqlc's generated Go files for modernizing the usage of an empty interface for the `any` type.

:wrench: golang
size:L

### Version 1.28.0 ### What happened? ``` -- name: UpcreateUserAccountBalance :execresult INSERT INTO user_balance ( user_id, amount, create_time, update_time ) VALUES ( ?, ?, now(), now() ) as new_item ON...

bug
:books: mysql
:wrench: golang