Log a transaction operation (undo operation) for rollback
(
&self,
operation: crate::txn::UndoOperation,
)
| 233 | |
| 234 | /// Log a transaction operation (undo operation) for rollback |
| 235 | pub fn log_transaction_operation( |
| 236 | &self, |
| 237 | operation: crate::txn::UndoOperation, |
| 238 | ) -> Result<(), crate::exec::error::ExecutionError> { |
| 239 | if let Some(transaction_state) = self.transaction_state() { |
| 240 | transaction_state.log_transaction_operation(operation) |
| 241 | } else { |
| 242 | Err(crate::exec::error::ExecutionError::RuntimeError( |
| 243 | "No transaction state available for transaction logging".to_string(), |
| 244 | )) |
| 245 | } |
| 246 | } |
| 247 | |
| 248 | /// Get the graph name for operations using session-aware resolution |
| 249 | /// Returns full path in /<schema-name>/<graph-name> format |
no test coverage detected