sqlc
sqlc copied to clipboard
Generate type-safe code from SQL
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...
### 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. ###...
### 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...
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...
### 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...
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...
### 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...
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.
### 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...