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

# Previously Fixes #3024 There are two main fixes in this PR - Any alterations to a parent table never propagated to the children. This is because the columns of...

### Version 1.26.0 ### What happened? sqlc generate fails mysql dump for 8.0.20-11 ### Relevant log output ```shell sqlc generate # package queries structure.sql:17:65: syntax error near "@rocksdb_has_p_s_session_variables FROM INFORMATION_SCHEMA.TABLES...

bug

### Version 1.26.0 ### What happened? Sqlc generates bindings for the query below don't take in any parameters and I think that's incorrect. ### Relevant log output ```shell /go/bin/sqlc version...

bug

### Version 1.26.0 ### What happened? Even though the table seems to be created, its not able to insert into that table saying that the schema 'table' is not found....

bug

### Version 1.11.0 ### What happened? ``` $ sqlc compile # package db migrations/20210121143728_timestamps.up.sql:11:15: syntax error near "TRIGGER `update_timestamp_collections` BEFORE UPDATE ON `collections`" migrations/20210421162816_uuidv4.up.sql:1:15: syntax error near "FUNCTION uuidv4()" migrations/20220117154531_migrate_collections_to_user_collections_rel.up.sql:4:17:...

bug
:books: mysql
upstream
:computer: darwin

### Version 1.25.0 ### What happened? Option "output_querier_file_name" does not change the default value ps: any other options work ![sample](https://github.com/sqlc-dev/sqlc/assets/36797751/57a33808-d9a4-4e88-ad68-8fa78bff2d9d) ### Relevant log output ```shell N/A ``` ### Database schema...

bug

### What do you want to change? The [documentation states](https://docs.sqlc.dev/en/stable/howto/ddl.html#golang-migrate) that > Warning: [golang-migrate interprets](https://github.com/golang-migrate/migrate/blob/master/MIGRATIONS.md#migration-filename-format) migration filenames numerically. However, sqlc parses migration files in lexicographic order. I was thinking if...

enhancement

Alternative version of #3287 in what I believe is a less "hacky" way. It respects the precedence of "column" overrides over "db_type" overrides, since the former is more specific. closes...

### What do you want to change? I am using a custom plugin to generate some code like sqlc-gen-go. In the current plugin system, only limited information of schema is...

enhancement
:books: postgresql

Bumps the production-dependencies group with 2 updates in the / directory: [github.com/tetratelabs/wazero](https://github.com/tetratelabs/wazero) and [google.golang.org/grpc](https://github.com/grpc/grpc-go). Updates `github.com/tetratelabs/wazero` from 1.7.3 to 1.8.0 Release notes Sourced from github.com/tetratelabs/wazero's releases. v1.8.0 Hi wazero friends,...

dependencies
go