gws_core

Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

AbstractDbManager

DbManager class. Provides backend feature for managing databases.

Implementation must define fillowing properties

:property db: Database Proxy :type db: DatabaseProxy

Attributes
mode: Literal
Functions
close_db @classmethod

Close the db connection

connect_db @classmethod

Open the db connection

get_brick_name @classmethod
Return type : str
get_config @classmethod
mode : Literal
Return type : DbConfig
get_db @classmethod

Get the db object

Return type : DatabaseProxy
get_engine @classmethod

Get the db object

Return type : Literal
get_unique_name @classmethod
Return type : str
inheritors @classmethod

Get all the classes that inherit this class

Return type : Set
init @classmethod

Initialize the DbManager

mode : Literal
is_mysql_engine @classmethod

Test if the mysql engine is active