Definition at line 139 of file control.py.
Public Member Functions | |
| __init__ (self, ConnectionCache connections, bool verbose=False) | |
| get_connection (self, str dbname, bool create_db=True) | |
| wrapper_for (self, str dbname) | |
| run_migration (self, str dbname, str path) | |
| known_databases (self) | |
| None | save_tables (self, str dbname) |
Public Attributes | |
| known_databases | |
Protected Member Functions | |
| _initdb (self, str dbname) | |
Protected Attributes | |
| bool | _need_save_tables = True |
| _connections = connections | |
| _verbose = verbose | |
| dict[str, list[str]] | _tables = dict() |
Static Protected Attributes | |
| set | _migrations_run [tuple[str, str]] |
| set | _initialized [str] |
| testsuite.databases.mysql.control.DatabasesState.__init__ | ( | self, | |
| ConnectionCache | connections, | ||
| bool | verbose = False ) |
Definition at line 143 of file control.py.
|
protected |
Definition at line 186 of file control.py.
| testsuite.databases.mysql.control.DatabasesState.get_connection | ( | self, | |
| str | dbname, | ||
| bool | create_db = True ) |
Definition at line 151 of file control.py.
| testsuite.databases.mysql.control.DatabasesState.known_databases | ( | self | ) |
Definition at line 180 of file control.py.
| testsuite.databases.mysql.control.DatabasesState.run_migration | ( | self, | |
| str | dbname, | ||
| str | path ) |
Definition at line 165 of file control.py.
| None testsuite.databases.mysql.control.DatabasesState.save_tables | ( | self, | |
| str | dbname ) |
Definition at line 195 of file control.py.
| testsuite.databases.mysql.control.DatabasesState.wrapper_for | ( | self, | |
| str | dbname ) |
Definition at line 158 of file control.py.
|
protected |
Definition at line 145 of file control.py.
|
staticprotected |
Definition at line 141 of file control.py.
|
staticprotected |
Definition at line 140 of file control.py.
|
protected |
Definition at line 144 of file control.py.
|
protected |
Definition at line 149 of file control.py.
|
protected |
Definition at line 146 of file control.py.
| testsuite.databases.mysql.control.DatabasesState.known_databases |
Definition at line 189 of file control.py.