feat(desktop): add connection-level database browser

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-08-12 02:20:05 +08:00
1 parent 44dbd0e0e7
commit fee3ed1d5a
46 files changed
+781 -29

No files matched your search

+8
View File
@@ -19,6 +19,14 @@ pub async fn list_databases(
dbx_core::schema::list_databases_core(&state, &connection_id).await
}
#[tauri::command]
pub async fn list_database_metadata(
state: State<'_, Arc<AppState>>,
connection_id: String,
) -> Result<Vec<db::DatabaseInfo>, String> {
dbx_core::schema::list_database_metadata_core(&state, &connection_id).await
}
#[tauri::command]
pub async fn list_database_storage(
state: State<'_, Arc<AppState>>,