duckdb

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultLibPath = "/opt/homebrew/lib/libduckdb.dylib"

DefaultLibPath is where a Homebrew install puts libduckdb on macOS, the usual development setup; SQLFLOW_DUCKDB_LIB overrides it.

View Source
const DefaultLinuxLibPath = "/usr/local/lib/libduckdb.so"

DefaultLinuxLibPath is where scripts/install-libduckdb.sh and the container image put the library. The pinned version lives in the DUCKDB_VERSION file, not here: nothing in the Go build cares which release is installed, only where it landed.

Variables

This section is empty.

Functions

func LibPath

func LibPath() string

LibPath resolves the DuckDB shared library the ADBC driver manager loads.

func Open

func Open(ctx context.Context) (adbc.Connection, error)

Open returns an in-memory DuckDB connection over ADBC.

Types

This section is empty.

Jump to

Keyboard shortcuts

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