Returns the database to use if one is not explicitly specified.
(&self)
| 90 | |
| 91 | /// Returns the database to use if one is not explicitly specified. |
| 92 | fn active_database_name(&self) -> Option<&str> { |
| 93 | self.active_database() |
| 94 | .map(|id| self.get_database(id)) |
| 95 | .map(|db| db.name()) |
| 96 | } |
| 97 | |
| 98 | /// Returns the database to use if one is not explicitly specified. |
| 99 | fn active_database(&self) -> Option<&DatabaseId>; |
no test coverage detected