feat(mysql): optimize table structure loading
This commit is contained in:
10 files changed
+469
-96
No files matched your search
@@ -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>>,
|
||||
|
||||
Reference in new issue
Block a user