superset_database_update
Update a database connection in Apache Superset selectively. Confirm URI changes to prevent breaking datasets and charts.
Instructions
Update a database connection. Pass only the fields you want to change.
Args: database_id: Connection ID to update. database_name: New connection name. sqlalchemy_uri: New SQLAlchemy URI. CRITICAL: changing the URI breaks all datasets and charts using this connection. expose_in_sqllab: Whether to show in SQL Lab. allow_ctas: Allow CREATE TABLE AS SELECT. allow_cvas: Allow CREATE VIEW AS SELECT. allow_dml: Allow INSERT/UPDATE/DELETE. extra: JSON string with additional settings. confirm_uri_change: Confirmation for URI change (REQUIRED when changing sqlalchemy_uri).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extra | No | ||
| allow_dml | No | ||
| allow_ctas | No | ||
| allow_cvas | No | ||
| database_id | Yes | ||
| database_name | No | ||
| sqlalchemy_uri | No | ||
| expose_in_sqllab | No | ||
| confirm_uri_change | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |