-
A suggestion from [this Twitter thread](https://twitter.com/voluntas/status/1720058880502456323) is to implement the project as a sqlc WASM plugin. This would allow users to get the grpc codegen outpu…
-
### Version
1.27.0
### What happened?
I want to type-cast some query variables but it doesn't compile
### Relevant log output
```shell
❯ sqlc generate
line 15:8 no viable alternative …
-
### Version
1.26.0
### What happened?
Input:
```sql
-- name: Insert :exec
INSERT INTO authors (name)
VALUES (sqlc.arg(name))
ON CONFLICT (name) DO UPDATE SET data = sqlc.arg(data);
```
O…
mondy updated
1 month ago
-
related: #13, #15
https://github.com/sqlc-dev/sqlc-gen-typescript/blob/1a42ab0ef40a8ed47e379fa7677fcedc5fe92150/examples/node-mysql2/src/db/query_sql.ts#L94-L100
This method should return `strin…
-
### Version
1.25.0
### What happened?
For the query:
```
-- name: List :many
SELECT *
FROM table
WHERE (id IN (sqlc.slice('ids')) OR sqlc.slice('ids') == NULL)
ORDER BY id;
````
call `q…
-
### What do you want to change?
I am quite surprised not to see the possibility to generate from a schema that defines a one-to-many relation (considering many people are using sqlc in production f…
-
so I can't seem to find a way to use poll only mode with a custom search path behind pgbouncer/similar in transaction pooling mode.
the recommendation I have read is to use pgx "search_path" in orde…
-
С помощью либы sqlc подготовить код с запросами к БД.
## TODO
- SQL код разместить в `internal/database/backend/queries`
- генерируемый код и yaml настройки sqlc в `internal/database/backend/`
- в…
-
I found your project and thought it was a nice solution for managing standalone tools for golang projects. One case we have in our project is compiling SQL to Go using `sqlc`. This binary requires pin…
-
### Version
1.26.0
### What happened?
When I select an enum array column in Postgres (pgx) with sqlc the generated type for that column is `[]interface{}`. For some reason this doesn't reprod…