sqlc
sqlc copied to clipboard
Generate type-safe code from SQL
### What do you want to change? Currently Columns don't set PrimaryKey, while developing the plugin sqlc-gen-proto, I would like to be able to read CREATE TABLE column level PRIMARY...
### What do you want to change? ### Background sqlc currently allows queries to generate a struct based on *all* the columns of a table using the *table name*.`*` syntax....
### What do you want to change? Hi there, It would be great if we can support `json` as an override in `db_type` as `LibSQL` and specifically providers such as...
### Version 1.27.0 ### What happened? I'm trying to create a virtual table using SQLite's R*Tree functionality described here: https://www.sqlite.org/rtree.html But I'm getting an error when trying to run generate....
### Version 1.27.0 ### What happened? While replacing a procedure in PSQL migration I noticed that SQLC generates the Procedures Struct using the old procedure parameter types somehow mixed with...
### Version 1.27.0 ### What happened? Resolving references to multiple CTE's with arguments fails. This is a duplicate of #3219, but 3219 has been closed even thought the issue still...
### What do you want to change? When the setting `emit_interface: true` is set, all functions are included in the generated `Querier` interface. There should be a away to exclude...
Closes #3582 # Description Adds documentation for `:copyfrom` query annotation. Adds config reference for `sql_driver` required by `:copyfrom`. # Tests None, this affects documentation only. Config json schema was not...
### Version 1.27.0 ### What happened? Missing configuration entry for driver change. https://docs.sqlc.dev/en/stable/reference/config.html#go Driver changes can be required by sqlc, such as when using `:copyfrom` https://docs.sqlc.dev/en/stable/howto/insert.html#using-copyfrom ### Relevant log output...
### What do you want to change? Is there any support for passing a slice of variable length and mapping it into clauses of a postgres query, like in this...