| Name | Type | Description |
|---|---|---|
query* | str | The query to execute. |
database | str | Default: ':memory:'The database to connect to. Defaults to ":memory:". |
read_only | bool | Default: FalseWhether to open the database in read-only mode. Defaults to False. |
config | Optional[Dict[str, str]] | Default: None |
page_content_columns | Optional[List[str]] | Default: None |
metadata_columns | Optional[List[str]] | Default: None |
Load from DuckDB.
Each document represents one row of the result. The page_content_columns
are written into the page_content of the document. The metadata_columns
are written into the metadata of the document. By default, all columns
are written into the page_content and none into the metadata.
A dictionary of configuration options to pass to the database. Optional.
The columns to write into the page_content
of the document. Optional.
The columns to write into the metadata of the document.
Optional.