File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
docs/website/docs/dlt-ecosystem/destinations Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,22 @@ The **duckdb://** URL above creates a **relative** path to `_storage/test_quack.
153153Dlt supports a unique connection string that triggers specific behavior for duckdb destination:
154154* ** :pipeline:** creates the database in the working directory of the pipeline, naming it ` quack.duckdb ` .
155155
156+ Please see the code snippets below to showing how to use it
157+
158+ 1 . Via ` config.toml `
159+ ``` toml
160+ destination.duckdb.credentials =" :pipeline:"
161+ ```
162+
163+ 2 . In Python code
164+ ``` py
165+ p = pipeline_one = dlt.pipeline(
166+ pipeline_name = " my_pipeline" ,
167+ destination = " duckdb" ,
168+ credentials = " :pipeline:" ,
169+ )
170+ ```
171+
156172### Additional configuration
157173Unique indexes may be created during loading if the following config value is set:
158174``` toml
You can’t perform that action at this time.
0 commit comments