Skip to main content

DuckDB

Installation

  1. Install package.

    If you are developing with binary, the package is already bundled in the binary. You can skip this step.

    npm i @vulcan-sql/extension-driver-duckdb
  1. Update vulcan.yaml, and enable the extension.

    extensions:
    ...
    duckdb: '@vulcan-sql/extension-driver-duckdb' # Add this line
  2. Create a new profile in profiles.yaml or in your profile files. For example:

    - name: duckdb # profile name
    type: duckdb
    connection:
    persistent-path: 'path-to-a-db-file'

Configuration

NameRequiredDefaultDescription
persistent-pathN:in-memory:Path to your persistent DB, if this value is not set, we use an in-memory database.
This path is relative to the work directory, which is your project root.
log-queriesNfalseWhether log query requests
log-parametersNfalseWhether log query requests' parameters, please be aware that query parameters might contain sensitive data.