You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thank you for the great work on sqlc! I’ve been using it with SQLite and really appreciate its capabilities.
I’d like to suggest adding support for DuckDB
. It’s an open-source, in-process analytical database that serves as a powerful alternative to SQLite, especially for analytical workloads.
DuckDB’s lightweight design and strong analytical features make it a great fit for many projects. Having native sqlc support for DuckDB would be extremely valuable.
Thank you for considering this request!
What database engines need to be changed?
No response
What programming language backends need to be changed?
Activity
cameronraysmith commentedon Sep 26, 2025
There is also a discussion here #2515.
Add column metadata API for SQL parser/code generation support
zfogg commentedon May 28, 2026
+1
kyleconroy commentedon Aug 26, 2026
The first pass of DuckDB support landed in #4585
While you can't generate code yet,
sqlc parseandsqlc analyzewill now work.kyleconroy commentedon Oct 14, 2026
Code generation using database/sql was added in #4621. It's not released yet, but please build from main to test it out!