sqlc icon indicating copy to clipboard operation
sqlc copied to clipboard

Generate type-safe code from SQL

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

### Version 1.15.0 ### What happened? Failure when SQLite identifiers are [quoted with double quotes](https://www.sqlite.org/lang_keywords.html), for example quoting a table name as `"test"` or a column name as `"id"` ###...

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

### What do you want to change? Structs generated by sqlc which contain null fields use the [sql.Null* types](https://pkg.go.dev/database/sql#NullString). However, it would be nice if there was an option to...

enhancement
accepted

### Version 1.15.0 ### What happened? Tried both on v1.15.0 and HEAD (as of August 26 2022). sqlite schema: ```sql -- name: UpdateChild :one CREATE TABLE IF NOT EXISTS Child(...

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

### What do you want to change? Add support for COLLATE in WHERE clause. Currently if I add `COLLATE NOCASE` after a WHERE expression, it omits the parameter from the...

enhancement
:books: sqlite

Hi, I just started exploring this project. But not able to build the project on windows. Is windows support in the road map. Thanks

:books: postgresql
upstream

### What do you want to change? Add [FTS5](https://www.sqlite.org/fts5.html) support to sqlite engine. schema.sql ```sql CREATE TABLE recipes ( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL,...

enhancement
:books: sqlite
accepted

Hi, I have interface embedding where my db interface is embedding sqlc generated interface. As db interface is then injected to service layer, I am not able to use this....

bug
:wrench: golang

### Version 1.10.0 ### What happened? When I have a timestamp array in my table and I want to bring the data back, I expect the results to be correctly...

bug
:books: postgresql
upstream
:wrench: golang
:computer: linux

### Version 1.13.0 ### What happened? `sqlc generate` creates a model in `models.go` like ``` // Code generated by sqlc. DO NOT EDIT. // versions: // sqlc v1.13.0 type QuestionnaireResponseItem...

documentation
:books: mysql
:wrench: golang
:computer: darwin

### Version 1.10.0 ### What happened? Generated code using the `interval` type in Postgres causes `invalid syntax` errors. I've created a sample application to test the behaviour (as I am...

bug
:books: postgresql
:wrench: golang