Skip to content

Add DuckDB Support #4083

Open
Open

Description

@zakaria-chahboun

What do you want to change?

Hi team 🌹

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?

No response

Activity

  1. cameronraysmith commented on Sep 26, 2025

    @cameronraysmith

    There is also a discussion here #2515.

  2. zfogg commented on May 28, 2026

    @zfogg

    +1

  3. kyleconroy commented on Aug 26, 2026

    @kyleconroy
    Collaborator

    The first pass of DuckDB support landed in #4585

    While you can't generate code yet, sqlc parse and sqlc analyze will now work.

  4. kyleconroy commented on Oct 14, 2026

    @kyleconroy
    Collaborator

    Code generation using database/sql was added in #4621. It's not released yet, but please build from main to test it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions