cpl_core.database.connection package
Submodules
cpl_core.database.connection.database_connection module
- class cpl_core.database.connection.database_connection.DatabaseConnection
Bases:
DatabaseConnectionABC
Representation of the database connection
- connect(database_settings: DatabaseSettings)
Connects to a database by connection string
- Parameter:
- connection_string:
str
Database connection string, see: https://docs.sqlalchemy.org/en/14/core/engines.html
- connection_string:
- property cursor: MySQLCursorBuffered
- property server: MySQLConnectionAbstract
cpl_core.database.connection.database_connection_abc module
- class cpl_core.database.connection.database_connection_abc.DatabaseConnectionABC
Bases:
ABC
ABC for the
cpl_core.database.connection.database_connection.DatabaseConnection
- abstract connect(database_settings: DatabaseSettings)
Connects to a database by connection string
- Parameter:
- connection_string:
str
Database connection string, see: https://docs.sqlalchemy.org/en/14/core/engines.html
- connection_string:
- abstract property cursor: MySQLCursorBuffered
- abstract property server: MySQLConnectionAbstract
Module contents
cpl-core CPL core
CPL core package
- copyright:
2020 - 2023 sh-edraft.de
- license:
MIT, see LICENSE for more details.