def connectDb(engine   = dbeng,<EOL>user     = dbuser,<EOL>password = dbpwd,<EOL>host     = dbhost,<EOL>port     = dbport,<EOL>database = dbname,<EOL>params   = "<STR_LIT>",<EOL>echoopt  = False):
return create_engine('<STR_LIT>' % (engine, user, password, host, port, database, params), echo=echoopt)<EOL>
Connect to database utility function.

    Uses SQLAlchemy ORM library.

    Useful when using schema modules in MambuPy