feat(mysql): optimize table structure loading

This commit is contained in:
zipg authored and GitHub committed 2026-06-23 17:31:37 +08:00
1 parent 5c4c87a042
commit 1c7ef0d235
10 files changed
+469 -96

No files matched your search

+11
View File
@@ -96,6 +96,17 @@ pub async fn list_tables(
.await
}
#[tauri::command]
pub async fn get_table_comment(
state: State<'_, Arc<AppState>>,
connection_id: String,
database: String,
schema: String,
table: String,
) -> Result<Option<String>, String> {
dbx_core::schema::get_table_comment_core(&state, &connection_id, &database, &schema, &table).await
}
#[tauri::command]
pub async fn list_objects(
state: State<'_, Arc<AppState>>,