sqlc
sqlc copied to clipboard
Generate type-safe code from SQL
### Version 1.15.0 ### What happened? The following example produces a query that will always fail, so IMHO it should result into a compilation error. ### Relevant log output _No...
### Version 1.14.0 ### What happened? I am using `numeric` and `decimal` types, and have attempted to override the Go type that is generated using `github.com/shopspring/decimal`. The appropriate Go type...
### Version 1.12.0 ### What happened? running `sqlc generate` on a select statement that uses a subselect that includes a join operation results in an empty columnset ### Relevant log...
### Version 1.12.0 ### What happened? The following migrations result in sqlc believing the materialized view exists in the main public schema, when it has in fact moved I am...
### What do you want to change? `DECLARE x CURSOR ...` and `FETCH n FROM x` are parsed into the ast (I believe) but not currently generated into queries. See...
### Version 1.12.0 ### What happened? I wanted to make an update query that also returns some more detailed data from other tables. The update query itself works fine, but...
### Version 1.12.0 ### What happened? When generating an insert query using the `NULLIF` function, the field name is not respected and will be generated as `nullif`. ### Relevant log...
### Version 1.12.0 ### What happened? When I modify a enum field with ALERT command, the generated models not added a new enum value, and it change the data tpy...
### Version 1.12.0 ### What happened? when postgres insert smallint[] > pq: parsing array element index 0: pq: scanning to int16 is not implemented pq.array not implemented []int16 ### Relevant...
### What do you want to change? Just as sqlc supports PostgreSQL dialect, there is a similar binding for ZetaSQL dialect in https://github.com/goccy/go-zetasql The ZetaSQL dialect is used by both...