1 parent
44dc2a88f8
commit
277386ec81
13 files changed
+513
-32
No files matched your search
@@ -210,6 +210,16 @@ pub async fn get_table_comment(
|
||||
dbx_core::schema::get_table_comment_core(&state, &connection_id, &database, &schema, &table).await
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn get_mysql_table_auto_increment(
|
||||
state: State<'_, Arc<AppState>>,
|
||||
connection_id: String,
|
||||
database: String,
|
||||
table: String,
|
||||
) -> Result<Option<String>, String> {
|
||||
dbx_core::schema::get_mysql_table_auto_increment_core(&state, &connection_id, &database, &table).await
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn list_objects(
|
||||
state: State<'_, Arc<AppState>>,
|
||||
|
||||
@@ -1906,6 +1906,7 @@ pub fn run() {
|
||||
commands::schema::list_sqlserver_linked_server_tables,
|
||||
commands::schema::list_tables,
|
||||
commands::schema::get_table_comment,
|
||||
commands::schema::get_mysql_table_auto_increment,
|
||||
commands::schema::list_objects,
|
||||
commands::schema::list_object_statistics,
|
||||
commands::schema::list_completion_objects,
|
||||
|
||||
Reference in new issue
Block a user