refactor(sql-file): share import executor

This commit is contained in:
t8y2 committed 2026-05-31 11:58:15 +08:00
1 parent f5cc81f761
commit da6074caaa
8 files changed
+568 -845

No files matched your search

-3
View File
@@ -6,9 +6,6 @@ use dbx_core::db;
use dbx_core::models::connection::DatabaseType;
use dbx_core::sql::split_sql_statements;
// Re-export core functions for use by other modules (e.g., sql_file.rs)
pub use dbx_core::query::execute_sql_statement;
#[tauri::command]
pub async fn execute_query(
state: State<'_, Arc<AppState>>,