-
I'd like to know the position in the input string each node is at. I'm working on [sqlc](https://github.com/kyleconroy/sqlc) support for inserting multiple rows and want to find the location of the VA…
-
### Version
v1.18.0
### What happened?
DB: `MySQL`
`query_parameter_limit `configured to be greater than 1 will generate an error for statements containing sqlc.slice().
for example this …
-
### Version
1.18.0
### What happened?
I tried to upgrade to sqlc v1.18.0 and the Go compiler reports `malformed import path` in the generated sources. I am using column overrides for array types an…
-
### Background
To produce information related to assets known to universes, services will want to query by date. Adding this information will enable reduced resource consumption and discrete infor…
-
### Version
1.15.0
### What happened?
I wanted to add following query:
```
-- name: NextTask :one
SELECT id
FROM dt_tasks
WHERE
(execute_at IS NULL
OR execute_at
-
sqlc.yaml
```
version: "1"
packages:
- name: "authors"
path: "generated/repo/authors"
queries: "./files/queries/authors.sql"
schema: "./files/schema/"
engine: "postgresql"
…
-
### Version
1.15.0
### What happened?
```sql
-- name: UpdateChapter :one
UPDATE chapters
SET name = coalesce(sqlc.narg('name'), name),
content = coalesce(sqlc.narg('content'), content)
WHE…
-
Since linting is fairly fast, it seems like it'd be nice to have the default behavior be to lint all migrations, or to add a new option like `--all`.
-
### Version
1.10.0
### What happened?
When compiling a query with a nested select of the form `SELECT * FROM unnest($1::bigint[])`, sqlc generate fails with an "empty edit contents" error. In the c…
-
### Version
1.17.2
### What happened?
Generated struct for the SELECT:
```go
type GetAPIsRow struct {
Account string
Token interface{}
ReadToken string
}
```
Both `token`…