-
Prepare sqlc.yaml configuration for project.
Add to Makefile proper entrypoint which will:
- Make migration
- Generate code using sqlc
buker updated
7 hours ago
-
Hi,
The insert query for sqlx, pgx, and pgx_pool is defines as:
```go
sqlxInsertBaseSQL = `INSERT INTO models (name, title, fax, web, age, "right", counter) VALUES `
sqlxInsertValuesSQL = `(…
-
Hey Joe
I cant work out what the setup is for the sqlc generator.
```make
go install github.com/sqlc-dev/sqlc/cmd/sqlc@v1.26.0
SQLC_FILE=$(PWD)/.sqllsrc.json
sqlc:
# errors: error parsi…
-
I'd find it handy to sort lines inside `require` blocks (it'll help me scan my dependencies easier).
Current:
```
require (
go.bbkane.com/warg v0.0.23
github.com/alessio/shell…
-
We should investigate a sqlc backend for Java, there is a simple Kotlin one here: https://github.com/sqlc-dev/sqlc-gen-kotlin
-
-
-
### Version
1.27.0
### What happened?
In Python the generated code requires to be ordered in a certain way (fields with defaults at the end). This was taken care by the following code in the …
-
### Version
1.27.0
### What happened?
sqlc fails to parse [UPDATE statements](https://www.sqlite.org/lang_update.html#optional_limit_and_order_by_clauses) that include both RETURNING and ORDER BY …
-
# Criando uma API usando Go e sqlc
Ao escrever uma aplicação Go que trata dados em um banco de dados (neste post vou me concentrar em bancos de dados relacionais) temos algumas opções:
[https://elto…