-
# Feature request
When using the supabase TS client, it automatically generates types based on the DB Schema. It would be amazing if we could do the same thing using Golang. I understand this would…
-
### What do you want to change?
Ability to override selected columns from postgres function to Go structs.
## Current implementation
Let's say we have the following table:
```sql
create tabl…
-
When trying to use sqlc for our project I noticed a few things were not supported that we require. We do use CockroachDB with the postgres engine.
1. The [`ON UPDATE`](https://www.cockroachlabs.com…
-
### What do you want to change?
https://docs.sqlc.dev/en/stable/howto/named_parameters.html
Not working for postgresql.
original:
```
...
when 'all' = $1::varchar then true
...
```
`OFFSE…
-
Language: `go`
Database: `postgres`
- [x] [graphql](https://gqlgen.com/)
- [x] [sqlc](https://sqlc.dev/)
- [x] [web framework](https://gin-gonic.com/)
- [ ] [logging](https://github.com/sirupsen/…
-
### What do you want to change?
With postgresql one can write `$1:: integer` and sqlc will make the generated type an integer. MySQL seems to lack such a type cast/assertion.
Having that would all…
Jille updated
8 months ago
-
# 为什么要旗帜鲜明地反对 orm 和 sql builder
[http://xargin.com/you-should-avoid-orm-and-sql-builder/](http://xargin.com/you-should-avoid-orm-and-sql-builder/)
-
### Version
1.25.0
### What happened?
Fails to generate - `syntax error at or near ","`. This appears to be due to having multiple items in the `RETURNING` clause given that if I change it to…
ghost updated
5 months ago
-
I am using shc to count HBase rows between certain time range, but I am seeing inconsistent row count result, rows with certain prefix bytes are missing from result.
My code:
........
df = sqlc.r…
-
### Version
1.22.0
### What happened?
MySQL 8.0.19 deprecated the former ON DUPLICATE KEY syntax [for the newer column reference style](https://dev.mysql.com/doc/refman/8.0/en/insert-on-dupli…