✨ feat(connection): 增加可见数据库选择功能 (#944)

感谢 @eryajf 的贡献!此功能允许用户在创建或编辑连接时选择可见的数据库,支持多种数据库类型。
This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-06-09 20:56:39 +08:00
1 parent ae483efb98
commit 41758e6bb1
24 files changed
+544 -9

No files matched your search

+3
View File
@@ -610,6 +610,9 @@ pub async fn disconnect_db(state: State<'_, Arc<AppState>>, connection_id: Strin
}
drop(conns);
state.reset_connection_transport(&connection_id).await;
if connection_id.starts_with("__visible_draft_") {
state.configs.write().await.remove(&connection_id);
}
Ok(())
}