Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or Docker Desktop.
- To connect DuckDB to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to DuckDB.
Implementation
This handler is implemented using theduckdb Python client library.
The DuckDB handler is currently using the 
0.7.1.dev187 pre-relase version of the Python client library. In case of issues, make sure your DuckDB database is compatible with this version. See the requirements.txt for details.- databaseis the name of the DuckDB database file. It can be set to- :memory:to create an in-memory database.
- read_onlyis a flag that specifies whether the connection is in the read-only mode. This is required if multiple processes want to access the same database file at the same time.