duckdb

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package duckdb implements the DuckDB driver as a subprocess. Each query spawns a fresh `duckdb` CLI process with NDJSON output.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(ctx context.Context, opts Opts) (driver.Connection, error)

Connect verifies the DuckDB CLI is available and the database is accessible.

Types

type Opts

type Opts struct {
	Path     string // empty means in-memory
	Readonly bool
}

Opts holds DuckDB connection options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL