feat(transactions): add manual transactions to more execution paths

This commit is contained in:
efeire authored and GitHub committed 2026-09-20 11:07:11 +08:00
1 parent 88ba58a79c
commit a924285136
38 files changed
+2471 -146

No files matched your search

+3
View File
@@ -59,6 +59,9 @@ pub struct SqlFileRequest {
pub database: String,
pub file_path: String,
pub continue_on_error: bool,
/// Reuse a held manual transaction instead of committing through ordinary query execution.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub txn_session_id: Option<String>,
#[serde(default)]
pub selected_tables: Option<Vec<dbx_types::sql_file::SqlFileTable>>,
#[serde(default)]