destinations.impl.duckdb.factory
duckdb Objects
class duckdb(Destination[DuckDbClientConfiguration, "DuckDbClient"])
__init__
def __init__(credentials: t.Union[DuckDbCredentials, t.Dict[str, t.Any], str,
"DuckDBPyConnection"] = None,
create_indexes: bool = False,
destination_name: t.Optional[str] = None,
environment: t.Optional[str] = None,
**kwargs: t.Any) -> None
Configure the DuckDB destination to use in a pipeline.
All arguments provided here supersede other configuration sources such as environment variables and dlt config files.
Arguments:
credentials
- Credentials to connect to the duckdb database. Can be an instance ofDuckDbCredentials
or a path to a database file. Use :pipeline: to create a duckdb in the working folder of the pipelinecreate_indexes
- Should unique indexes be created, defaults to False**kwargs
- Additional arguments passed to the destination config