-
### Version
Other
### What happened?
From https://github.com/kyleconroy/sqlc/issues/2416#issuecomment-1633767537, sqlc panics on the below query going back to at least version v1.14.0.
### Relevan…
-
Not sure if it's possible with the model of sqlexpr, but it would be nice in if the following code, the `should_fail` SQL queries were detected by `auto_check_db`.
```ocaml
module Sqlexpr = Sqlexp…
-
### 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…
-
### What do you want to change?
AFAIK sqlc cannot assign types to json aggregations.
For example:
```sql
select
...
json_build_object(
'id', s.id,
'description', s.descriptio…
-
### 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…
-
Hi there! I'm really interested in using this tool, however as a user of SQLc, I require the schema to be available as SQL. Is there any plan to support outputting the DDL as SQL?
-
### 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
4 months ago
-
### 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.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…
-
I have developed a version of pgquery for Go that uses WebAssembly and wazero
https://github.com/wasilibs/go-pgquery
This means that it enable the library to be used without cgo, notably meaning…