feat(mysql): add auto-increment counter action

Closes #3019
This commit is contained in:
t8y2 committed 2026-08-14 01:59:04 +00:00
1 parent 278429ab07
commit 4c6c3142c0
18 files changed
+456 -7

No files matched your search

+7
View File
@@ -501,6 +501,13 @@ pub fn build_truncate_table_sql(options: dbx_core::db_admin_sql::TableAdminSqlOp
Ok(dbx_core::db_admin_sql::build_truncate_table_sql(options))
}
#[tauri::command]
pub fn build_mysql_auto_increment_sql(
options: dbx_core::db_admin_sql::MysqlAutoIncrementSqlOptions,
) -> Result<String, String> {
dbx_core::db_admin_sql::build_mysql_auto_increment_sql(options)
}
#[tauri::command]
pub fn build_drop_database_sql(options: dbx_core::db_admin_sql::DatabaseNameSqlOptions) -> Result<String, String> {
Ok(dbx_core::db_admin_sql::build_drop_database_sql(options))
+1
View File
@@ -1711,6 +1711,7 @@ pub fn run() {
commands::query::build_drop_table_child_object_sql,
commands::query::build_empty_table_sql,
commands::query::build_truncate_table_sql,
commands::query::build_mysql_auto_increment_sql,
commands::query::build_drop_database_sql,
commands::query::build_create_schema_sql,
commands::query::build_update_database_properties_sql,