Get database from MongoDB connection. performs authentication if necessary.
(self)
| 320 | |
| 321 | @cached_property |
| 322 | def database(self): |
| 323 | """Get database from MongoDB connection. |
| 324 | |
| 325 | performs authentication if necessary. |
| 326 | """ |
| 327 | return self._get_database() |
| 328 | |
| 329 | @cached_property |
| 330 | def collection(self): |
no test coverage detected