discussions Search Results · repo:sqlc-dev/sqlc language:Go
Filter by
256 results
(78 ms)256 results
insqlc-dev/sqlc (press backspace or delete to remove):
Problem Description
When using sqlc with PostgreSQL and pgx/v5, columns of type JSONB are generated as []byte in the Go model. This causes
standard JSON marshaling (e.g., via Gin or encoding/json) to ...
sanbei101posted
10 days ago- 0
:
Hi, any thoughts on generating documentation with sqlc such as Markdown documents or PlantUML entity relationhsip
diagrams. Is that something that could be added to sqlc proper, or would it have to be ...
jonathangjertsenposted
on Oct 2- 1
:
Does sqlc have support to generate code for migrations that contain stored procedures?
skedeeposted
on Jan 26, 2024- 3
:
Hi 👋🏻
I’m new to SQLC and Go, coming from a strong .NET background - so apologies in advance if this question sounds too
“C#-oriented.”
In Entity Framework (EF), there’s a feature called Global Query ...
tomflennerposted
on Sep 19- 0
:
What s Changed
- build(deps): bump the production-dependencies group across 1 directory with 2 updates by @dependabot[bot] in
https://github.com/sqlc-dev/sqlc/pull/3941
- build(deps): bump packaging ...
kyleconroyposted
on Sep 1- 0
:
I m using sqlc with pgx/v5 in go, for a delete query with :one annotation for eg.
-- name: DeleteEmployee :one
delete
from employee
where employee_id = $1
returning employee_name;
I was expecting it ...
rmodpurposted
on May 6- 7
:
Earlier this year we switched to using a version of the PostgreSQL parser that didn t require cgo. For v1.30, I m
planning on releasing binaries that are build slightly differently. The old build command ...
kyleconroyposted
on Aug 3- 1
:
I have this query:
-- name: CreateSnippet :one
INSERT INTO snippets (title, content, created_at, expires)
VALUES($1, $2, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP + INTERVAL 7 days )
RETURNING *;
I want ...
katatrinaposted
on Aug 5, 2023- 4
:
Current Behaviour : I have 3 .sql files and when I am compiling them using sqlc generate(keeping emit_interface flag
true), a single interface is created for all the auto-generated SQL queries.
Expected ...
sagar23sjposted
on May 3, 2021- 1
:
I noticed that :many queries collect result objects in slices. That could be inefficient for large number of rows. I was
wondering if you d be willing to add/allow support for some sort of :stream annotation, ...
cloneableposted
on Sep 27, 2021- 11