-
### 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
-
### Version
1.18.0
### What happened?
Sqlc could not support table alias, the sql example is in below.
The error message is "table alias "t1" does not exist"
### Relevant log output
_No respon…
-
Hello Charaf,
thank you very much for your code example. It helps me a lot, because other examples are out of date...
One thing I would like to see in your code: input sanitizing...
Currently you u…
-
### 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
7 months ago
-
### Version
1.25.0
### What happened?
UPDATE statement with FROM subquery does not generate!
### Relevant log output
```shell
sqlc generate failed.
# package
query.sql:23:14: column "id" does …
-
I have an IONIC / Cordova / Angular app. Recently I set the android-targetSDKVersion to 30.
After that I get reports from users that they ran into "Could not open database" on several Android devices…
-
### Version
1.26.0
### What happened?
In query.sql:
```sql
-- name: EmojiOops :exec
SELECT
'🤷' AS emoji
limit
1;
```
Generated in query.sql.go:
```go
const emojiOops = `-- n…
-
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/…
-
### Version
1.26.0
### What happened?
Hello! I am working on a side project and I am using [MySQL events](https://dev.mysql.com/doc/refman/8.4/en/create-event.html). The CREATE EVENT statement is a…
-
### 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…