MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / connect

Method connect

test/dialect/mysql/test_dialect.py:691–693  ·  view source on GitHub ↗
(con, record)

Source from the content-addressed store, hash-verified

689
690 def _options(self, modes):
691 def connect(con, record):
692 cursor = con.cursor()
693 cursor.execute("set sql_mode='%s'" % (",".join(modes)))
694
695 e = engines.testing_engine(
696 options={

Calls 3

cursorMethod · 0.45
executeMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected