Return the backend name. This is the name that corresponds to the database backend in use, and is the portion of the :attr:`_engine.URL.drivername` that is to the left of the plus sign.
(self)
| 704 | return not self == other |
| 705 | |
| 706 | def get_backend_name(self) -> str: |
| 707 | """Return the backend name. |
| 708 | |
| 709 | This is the name that corresponds to the database backend in |
| 710 | use, and is the portion of the :attr:`_engine.URL.drivername` |
| 711 | that is to the left of the plus sign. |
| 712 | |
| 713 | """ |
| 714 | if "+" not in self.drivername: |
| 715 | return self.drivername |
| 716 | else: |
| 717 | return self.drivername.split("+")[0] |
| 718 | |
| 719 | def get_driver_name(self) -> str: |
| 720 | """Return the backend name. |
no test coverage detected