sqlc
sqlc copied to clipboard
Generate type-safe code from SQL
### 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...
### 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...
### 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...
### 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...
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...
### 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'....
### 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...
### 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...
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; ```...