-
### How to specify or what is the way to define to create model for this MySQL procedure call?
**Procedure**
`CREATE PROCEDURE insert_author(IN _name VARCHAR(255),IN _bio TEXT)
BEGIN
INS…
-
### Discussed in https://github.com/sqlc-dev/sqlc/discussions/364
Originally posted by **mehdijoafshani** February 27, 2020
Does it make sense to support dynamic queries ? *(Dynamic `where` an…
-
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.27.0
### What happened?
When overriding int8 to uint it is not respected when using syntax like `.... _id = ANY($1::int8[])`;
Generated function creates int64 parameter instead of ui…
-
### Version
1.27.0
### What happened?
I want to generate sql query using copyfrom annotations and got an error
### Relevant log output
```shell
# package bankstatement
error generating code:…
-
### 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…
-
Thank you for this cool and useful utility!
I've gotten everything working with my PostgresQL database, and noticed that all my `BIGINT` columns get returned as a `string` in the resulting Typescri…
-
Output snippet:
```
private const string InsertRecordSql = "INSERT INTO importer.export ( fxtel , fxadr, fxname, fxres1, fxres2, fxanw, fxmand, fxdatei, fxusr1, fxusr2, fxname2, fxstr, fxplz, fxort,…
-
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…
-
### What do you want to change?
I'd like to be able to define part of a query, and then reuse that in other queries. I've called it fragments.
This is handy as it reduces duplication in the quer…