-
Since I am using mysql, I would like to generate code that accepts multiple values using [sqlc.slice](https://docs.sqlc.dev/en/latest/reference/macros.html#sqlc-slice).
**Example**
schema & quer…
zztkm updated
10 months ago
-
### Version
1.26.0
### What happened?
When creating WITH statements in SQL, I've noticed that if I was to use `COALESCE` within a WITH that updates data, that it would result in `sqlc generat…
-
seems that protoc-gen-connect-go is missing from ./gen.sh for authors ?
```sh
go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest
go install github.com/bufbuild/buf/cmd/buf@latest
go…
-
Please go to comment https://github.com/sqlc-dev/sqlc/issues/3457#issuecomment-2199851963 for a more concise reproduction of the bug.
### Version
1.26.0
### What happened?
When calling an …
-
### Version
1.23.0
### What happened?
A SQL type `timestamp with time zone` is not recognized as `timestamptz` when `timestamptz` is overridden with `time.Time`.
as mentioned by @andrewmbe…
-
### Version
1.23.0
### What happened?
When using `sqlc.embed` on something in combination with a `LEFT JOIN`, meaning that the embedded table may be null, sqlc fails to parse the result when …
-
### gormの不満点
1. gormでちょっとでも長いクエリを書こうとすると書きにくく、読みにくい。
__これなら素のクエリの方が書きやすく可読性が良い。__
```go
func (db *FavoriteRepository) GetVtubersMoviesKaraokesWithFavCnts() ([]domain.TransmitKaraoke, er…
-
### Version
1.22.0
### What happened?
I have to update the query that backs a materialized view.
To do this, I create a new temporary materialized view, `view_2`, drop the old view, `view_1`, a…
-
# Things to Consider When Going With sqlc · Preslav Rachev
I am a software engineer with a decade-long experience developing software using Java, Go, and Elixir.
[https://preslav.me/2023/03/07/reaso…
-
### Version
1.25.0
### What happened?
Trying to generate a query where there is a table alias with capital letters causes the generation to fail with the error `column "id" does not exist`. Changin…