sqlc icon indicating copy to clipboard operation
sqlc copied to clipboard

Generate type-safe code from SQL

Results 584 sqlc issues
Sort by recently updated
recently updated
newest added

### What do you want to change? Usecase is to have seperate set of queries generated for read access and write access. For example if I have read user of...

enhancement

### Version 1.25.0 ### What happened? If the number of parameters for a `batchexec` is ≤ `query_parameter_limit`, the struct for the parameters does not get generated. The generated function still...

bug
triage

### Version 1.25.0 ### What happened? I just need to perform a query that joins multiple rows from same table and i expect sqlc to take alias from query when...

bug

### Version 1.25.0 ### What happened? I have a table with an enum, and I want to write a query where I can pass a list of possible enum values...

bug

Support table-valued functions in the same way that OUT parameters are currently supported. The columns of the output table are returned by pg_analyze in the list of arguments, so we...

### What do you want to change? I do want free unicorns! But also, it just occurred to me that SQLC has one of the most robust SQL parsing systems...

enhancement
triage

### Version 1.25.0 ### What happened? Sqlc encounters issues when attempting to recognize table aliases specified within the WHERE clause, particularly when filtering selections using the syntax alias_table.field = 'something'....

bug

### Version 1.18.0 ### What happened? sqlc generates queries using numbered parameters, but if a `sqlc.slice` comes before other parameters, the numbers will no longer match. ### Relevant log output...

bug
:wrench: golang
:books: sqlite
:computer: linux

### Version 1.25.0 ### What happened? Hi, thanks for contributing to such an awsome library. I'm trying to define explicit data types in my query, but I keep getting "could...

bug

the order by clause in the :many definition query should be set dynamically ``` -- name: ListOrders :many select * from order where status = $1 order by @orderBy::text; ```...

enhancement
:books: mysql
:books: postgresql
:wrench: golang