sqlc
sqlc copied to clipboard
Generate type-safe code from SQL
We've encountered an issue when using managed: true in our SQLC configuration with PostgreSQL databases. Problem: When using local schema parsing (`managed: false`), SQLC correctly interprets PostgreSQL enum types and...
I am trying to run the `sqlc generate` and one of the query in the file I have is as below ```sql WITH update_namespaces AS ( UPDATE namespaces SET name...
### What do you want to change? Hi, I have interest to https://github.com/sqlc-dev/sqlc/issues/1505 So, I tried to pass tests on my local environment first. If this project have some document...
### What do you want to change? In my codebase I have ```go type Identity int64 ``` Imagine a query like ```sql -- name: GoGetThem :many SELECT * FROM users...
### Version 1.27.0 ### What happened? I'm using goose for migrations and sqlc to generate queries and models. I have a migration that updates multiple column names. When I run...
### Version 1.28.0 ### What happened? **Describe the bug** When using `COALESCE` in an UPDATE query, SQLC generates Go parameters with non-nullable types (e.g., `int32`, `string`) instead of nullable pointers...
### Version 1.27.0 ### What happened? docker sqlc generate raise panic when I try to generate the code with a view that contains subquery and cross join on postgres. I...
### Version 1.28.0 ### What happened? I have read some issues related to this but I can't fix it while using the latest version. There is this column in my...
### Version 1.29.0 ### What happened? If schema.sql contains a mixed case table name, you can only drop the table using lowercase name, otherwise, you get a relation `"" does...