fix(structure): load dynamic data type options

This commit is contained in:
t8y2 committed 2026-06-26 15:22:33 +08:00
1 parent 5ffac129e0
commit cdfe576024
24 files changed
+380 -3

No files matched your search

+9
View File
@@ -88,6 +88,15 @@ pub async fn list_schema_infos(
dbx_core::schema::list_schema_infos_core(&state, &connection_id, &database).await
}
#[tauri::command]
pub async fn list_data_types(
state: State<'_, Arc<AppState>>,
connection_id: String,
database: String,
) -> Result<Vec<String>, String> {
dbx_core::schema::list_data_types_core(&state, &connection_id, &database).await
}
#[tauri::command]
pub async fn list_tables(
state: State<'_, Arc<AppState>>,