Need to work on running update queries, that combine plsql and normal sql statements and potentially multiple extracts for one sql file, to make multiple files, and probably to also export to xlsx file format.
14 lines
404 B
Python
14 lines
404 B
Python
from config import Config
|
|
from db_adapter import DBAdapter
|
|
from keepass import KeePass
|
|
from logger import init_logger
|
|
from models import Municipality
|
|
|
|
logger = init_logger()
|
|
|
|
config = Config()
|
|
|
|
keepass = KeePass(config.kee_pass, logger)
|
|
|
|
db_adapter = DBAdapter(keepass, config.database, logger)
|
|
db_adapter.run_sql_file_export_to_csv_multiple_schemas([Municipality('test', '123456789', 'op_test', '123')]) |