feat(postgres): add table vacuum action

This commit is contained in:
amwps290 authored and GitHub committed 2026-08-20 16:04:22 +08:00
1 parent 0e0edcd206
commit 11407b537f
23 files changed
+554 -36

No files matched your search

+5
View File
@@ -513,6 +513,11 @@ 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_vacuum_table_sql(options: dbx_core::db_admin_sql::VacuumTableSqlOptions) -> Result<String, String> {
dbx_core::db_admin_sql::build_vacuum_table_sql(options)
}
#[tauri::command]
pub fn build_mysql_auto_increment_sql(
options: dbx_core::db_admin_sql::MysqlAutoIncrementSqlOptions,
+1
View File
@@ -1727,6 +1727,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_vacuum_table_sql,
commands::query::build_mysql_auto_increment_sql,
commands::query::build_drop_database_sql,
commands::query::build_create_schema_sql,