attach_database
Attach a new database at runtime without restarting the server. Configure PostgreSQL, MySQL, ClickHouse, or SQLite connections with remote, dump, or auto modes.
Instructions
Подключить новую БД в рантайме без перезапуска сервера. (фича B) Поддерживаемые db_type: postgresql, mysql, clickhouse, sqlite. mode: remote (push-down SQL), dump (выгрузка в DuckDB), auto (по умолчанию).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| mode | No | auto | |
| name | Yes | ||
| port | No | ||
| db_type | Yes | ||
| database | No | ||
| password | No | ||
| username | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |