-
### Version
1.10.0
### What happened?
If you create a query with a single positional parameter whose inferred arg name is a go keyword (e.g., `WHERE type = $1`), sqlc reports a generation error:
`…
-
### What do you want to change?
`EXISTS` currently maps to `interface{}`. See example here: https://play.sqlc.dev/p/24898cbb74186ef12300101ab0b15249430ccce13fbe62c8e1657364a10b9db2
`query.sql`:
…
-
I'm using sqlc together with a package that generates an http router based on an OpenAPI spec. I find that I need to do a lot of mapping between sqlc generated types and types for the http responses.…
-
### Version
Other
### What happened?
When comparing 2 columns with different types, the type of the first one is generated for both columns as input.
This is common use case when implementin…
-
### Version
Other
### What happened?
Executing query that takes an array of a custom enum type with pgx/v4 fails with:
```
Cannot encode []main.WidgetType into oid 16393 - []main.WidgetType mus…
-
**Describe the bug**
Once we land PR stacklok/mediator#692, we'll have a pretty good support for artifacts. What will still be missing is the ability to tie the rule evaluation status to artifacts so…
-
I just encountered a problem inserting data into a postgres `bytea[]` array type. I was able to solve it by configuring a type override to use [`pq.ByteaArray`](https://godoc.org/github.com/lib/pq#Byt…
-
### Version
1.16.0
### What happened?
When I use alias in my SELECT queries and have multiple selected source, the queries generated by sqlc will have a `.*` at the end of the SELECT clause.
…
-
### Version
1.12.0
### What happened?
When I join two tables and try to select everything from only one of them using the "table".* syntax the generated code has .* appended to the last colum…
-
### Version
1.19.1
### What happened?
Decimal mysql columns cast to strings in models.
Please see db/models.go in this playground for an example: https://play.sqlc.dev/p/f304fbebbc304d7489…