-
### What do you want to change?
See prior #1442 #930 #1076 #2207
[ngrok/sqlmw](https://github.com/ngrok/sqlmw) provides `database/sql` interface interceptors (middleware), but does not work with…
-
### Version
1.18.0
### What happened?
I was testing to implement sqlc.embed() in order to simplify my conversions routines from sqlc to protobuf.
I have this query:
```sql
-- name: GetCh…
-
### What do you want to change?
I have the following setup:
queries.sql
```sql
-- name: CheckDatabase :exec
SELECT
COUNT(ID),
COUNT(Destination),
COUNT(Hits),
COUNT(Owner)
FROM redirec…
mpldr updated
3 months ago
-
### gormの不満点
1. gormでちょっとでも長いクエリを書こうとすると書きにくく、読みにくい。
__これなら素のクエリの方が書きやすく可読性が良い。__
```go
func (db *FavoriteRepository) GetVtubersMoviesKaraokesWithFavCnts() ([]domain.TransmitKaraoke, er…
-
I am experiencing an issue where it is not possible to create queries with an argument that takes an array of items. The documentation provides the following examples for creating such queries:
`…
-
### Version
1.26.0
### What happened?
```sql
-- name: ListTemplates :many
SELECT *
FROM templates
WHERE (sqlc.arg(in_user_id) != TRUE OR user_id IN (sqlc.slice(user_ids)))
AND (sqlc.arg(gt_u…
aimuz updated
3 months ago
-
### 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…
-
### Version
1.25.0
### What happened?
I have some table A and I made a LEFT JOIN on table B, but i used the `sqlc.embed(b)` on the table that I joined and unfortunately, I got non-nullable types.
…
-
### Version
1.26.0
### What happened?
when i run `docker run --rm -v "$(PWD):/src" -w /src sqlc/sqlc:1.26.0 generate`, but the generated files have `v1.25.0`.
### Relevant log output
_N…
-
### Version
1.25.0
### What happened?
When left joining two (or more) tables, where the selected values are embedded into structs using `sqlc.embed`, an error occurs when the joined table row…