MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _mysql_drop_db

Function _mysql_drop_db

lib/sqlalchemy/dialects/mysql/provision.py:89–93  ·  view source on GitHub ↗
(cfg, eng, ident)

Source from the content-addressed store, hash-verified

87
88@drop_db.for_db("mysql", "mariadb")
89def _mysql_drop_db(cfg, eng, ident):
90 with eng.begin() as conn:
91 conn.exec_driver_sql("DROP DATABASE %s_test_schema" % ident)
92 conn.exec_driver_sql("DROP DATABASE %s_test_schema_2" % ident)
93 conn.exec_driver_sql("DROP DATABASE %s" % ident)
94
95
96@temp_table_keyword_args.for_db("mysql", "mariadb")

Callers 1

_mysql_create_dbFunction · 0.85

Calls 2

beginMethod · 0.45
exec_driver_sqlMethod · 0.45

Tested by

no test coverage detected