Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make DuckDB connection a singleton #206

Closed
wants to merge 2 commits into from
Closed

Make DuckDB connection a singleton #206

wants to merge 2 commits into from

Commits on Sep 23, 2024

  1. Make DuckDB connection a singleton

    In #174 we made the DuckDB database a singleton, but a new DuckDB
    connection was still being created for every query. This means that any
    connection state, such as SET commands or temporary tables don't survive a
    single query, which is pretty confusing. This addresses that by also
    making the `duckdb::Connection` a singleton, this way a Postgres
    connection and a DuckDB connection are linked 1-to-1.
    JelteF committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    189def8 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    17b9a96 View commit details
    Browse the repository at this point in the history