fix(structure): load dynamic data type options
This commit is contained in:
1 parent
5ffac129e0
commit
cdfe576024
24 files changed
+380
-3
No files matched your search
@@ -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>>,
|
||||
|
||||
Reference in new issue
Block a user