feat(mysql): manage and edit MySQL events

This commit is contained in:
miracle authored and GitHub committed 2026-08-23 12:23:46 +08:00
1 parent 701f188e45
commit d8bc5153d2
35 files changed
+981 -27

No files matched your search

+11
View File
@@ -322,6 +322,17 @@ pub async fn get_object_source(
.await
}
#[tauri::command]
pub async fn get_event_info(
state: State<'_, Arc<AppState>>,
connection_id: String,
database: String,
schema: String,
name: String,
) -> Result<db::MysqlEventInfo, String> {
dbx_core::schema::get_event_info_core(&state, &connection_id, &database, &schema, &name).await
}
#[tauri::command]
pub async fn get_custom_type_details(
state: State<'_, Arc<AppState>>,
+1
View File
@@ -1669,6 +1669,7 @@ pub fn run() {
commands::schema::list_completion_objects,
commands::schema::completion_assistant_search,
commands::schema::get_object_source,
commands::schema::get_event_info,
commands::schema::get_custom_type_details,
commands::schema::list_schemas,
commands::schema::list_schema_infos,