Check if there's an active transaction
(&self)
| 60 | |
| 61 | /// Check if there's an active transaction |
| 62 | pub fn has_active_transaction(&self) -> Result<bool, ExecutionError> { |
| 63 | Ok(self.current_transaction_id()?.is_some()) |
| 64 | } |
| 65 | |
| 66 | /// Check if auto-commit is enabled |
| 67 | pub fn is_auto_commit(&self) -> Result<bool, ExecutionError> { |
no test coverage detected