Update db.py
This commit is contained in:
parent
51fb4d41db
commit
e4ec026a8d
10
db.py
10
db.py
@ -10,9 +10,19 @@ class db_module():
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.dbCredential: credentials.DB_Credential
|
||||
self.currentDBStrategy: config.DBStrategy
|
||||
self.Strategy = None
|
||||
self.currentWorkingDB: str
|
||||
self.engine = None
|
||||
|
||||
class Strategy_SQLite():
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
class Strategy_MySQL():
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def setup_engine(self, credential: credentials.DB_Credential = None):
|
||||
createEngine = True
|
||||
if credential is None:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user