PATH: //opt/cloudlinux/venv/lib/python3.11/site-packages/sqlalchemy/dialects/mysql
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 __init__.py
↓
X
📁 __pycache__/
X
📄 base.py
↓
X
📄 cymysql.py
↓
X
📄 dml.py
↓
X
📄 enumerated.py
↓
X
📄 gaerdbms.py
↓
X
📄 json.py
↓
X
📄 mysqlconnector.py
↓
X
📄 mysqldb.py
↓
X
📄 oursql.py
↓
X
📄 provision.py
↓
X
📄 pymysql.py
↓
X
📄 pyodbc.py
↓
X
📄 reflection.py
↓
X
📄 types.py
↓
X
📄 zxjdbc.py
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: provision.py
from ...testing.provision import configure_follower from ...testing.provision import create_db from ...testing.provision import drop_db from ...testing.provision import temp_table_keyword_args @create_db.for_db("mysql") def _mysql_create_db(cfg, eng, ident): with eng.connect() as conn: try: _mysql_drop_db(cfg, conn, ident) except Exception: pass conn.execute("CREATE DATABASE %s CHARACTER SET utf8mb4" % ident) conn.execute( "CREATE DATABASE %s_test_schema CHARACTER SET utf8mb4" % ident ) conn.execute( "CREATE DATABASE %s_test_schema_2 CHARACTER SET utf8mb4" % ident ) @configure_follower.for_db("mysql") def _mysql_configure_follower(config, ident): config.test_schema = "%s_test_schema" % ident config.test_schema_2 = "%s_test_schema_2" % ident @drop_db.for_db("mysql") def _mysql_drop_db(cfg, eng, ident): with eng.connect() as conn: conn.execute("DROP DATABASE %s_test_schema" % ident) conn.execute("DROP DATABASE %s_test_schema_2" % ident) conn.execute("DROP DATABASE %s" % ident) @temp_table_keyword_args.for_db("mysql") def _mysql_temp_table_keyword_args(cfg, eng): return {"prefixes": ["TEMPORARY"]}
SIMPAN PERUBAHAN