https://docs.sqlalchemy.org/en/13/core/connections.html#sqlalchemy.engine.Engine
class sqlalchemy.engine.Engine(pool, dialect, url, logging_name=None, echo=None, proxy=None, execution_options=None, hide_parameters=False)
方法 | 描述 |
---|---|
sqlalchemy.engine.Engine.begin(close_with_result=False) | |
sqlalchemy.engine.Engine.connect(**kwargs) | 返回一个连接对象 |
sqlalchemy.engine.Engine.contextual_connect(close_with_result=False, **kwargs) | |
sqlalchemy.engine.Engine.dispose() | |
sqlalchemy.engine.Engine.driver | |
sqlalchemy.engine.Engine.execute(statement, *multiparams, **params) | 等同于 Connection.execute() |
sqlalchemy.engine.Engine.execution_options(**opt) | |
sqlalchemy.engine.Engine.get_execution_options() | |
sqlalchemy.engine.Engine.has_table(table_name, schema=None) | |
sqlalchemy.engine.Engine.name | |
sqlalchemy.engine.Engine.raw_connection(_connection=None) | |
sqlalchemy.engine.Engine.run_callable(callable_, *args, **kwargs) | |
sqlalchemy.engine.Engine.scalar(statement, *multiparams, **params) | |
sqlalchemy.engine.Engine.schema_for_object = <sqlalchemy.sql.schema._SchemaTranslateMap object> | |
sqlalchemy.engine.Engine.table_names(schema=None, connection=None) | |
sqlalchemy.engine.Engine.transaction(callable_, *args, **kwargs) | |
sqlalchemy.engine.Engine.update_execution_options(**opt) |