Get the [DatabaseBackend](crate::DatabaseBackend) being used by the [MockDatabase] # Panics Will panic if the lock cannot be acquired.
(&self)
| 123 | /// |
| 124 | /// Will panic if the lock cannot be acquired. |
| 125 | pub fn get_database_backend(&self) -> DbBackend { |
| 126 | self.mocker |
| 127 | .lock() |
| 128 | .expect("Fail to acquire mocker") |
| 129 | .get_database_backend() |
| 130 | } |
| 131 | |
| 132 | /// Execute the SQL statement in the [MockDatabase] |
| 133 | #[instrument(level = "trace")] |