(&mut self, db_backend: DbBackend)
| 375 | } |
| 376 | |
| 377 | fn begin_nested(&mut self, db_backend: DbBackend) { |
| 378 | self.transaction_depth += 1; |
| 379 | self.push(Statement::from_string( |
| 380 | db_backend, |
| 381 | format!("SAVEPOINT savepoint_{}", self.transaction_depth), |
| 382 | )); |
| 383 | } |
| 384 | |
| 385 | fn commit(&mut self, db_backend: DbBackend) -> bool { |
| 386 | if self.transaction_depth == 0 { |