DuckDB¶
Installation¶
Connection URL¶
Connect to DuckDB by passing a connection URL to the Database
constructor:
Connection Parameters¶
Alternatively, connect using the Database.from_duckdb()
method with parameters:
PARAMETER | DESCRIPTION |
---|---|
database
|
Path to a duckdb database. Default is ':memory:'.
TYPE:
|
read_only
|
Whether the database is read-only. Default is False.
TYPE:
|
extensions
|
A list of duckdb extensions to install/load upon connection.
TYPE:
|
config
|
DuckDB configuration parameters. See the DuckDB configuration documentation for possible configuration values.
TYPE:
|
match_schema
|
Regex pattern to filter schemas. Mutually exclusive with match_tables.
TYPE:
|
match_tables
|
Regex pattern to filter tables. Mutually exclusive with match_schema.
TYPE:
|
**kwargs
|
Additional arguments passed to the DBAPI connection call.
TYPE:
|