commit 444cec2ba04d12980b116086b727c7ff40db63f4
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sat Feb 18 14:50:58 2023 +0100
[sqlalchemy-20] Use Connection.execute() instead of Engine.execute()
According to the SLQAlchemy documentation, "the Engine.execute() method
is considered legacy as of the 1.x series of SQLAlchemy and will be
removed in 2.0. All statement execution in SQLAlchemy 2.0 is performed
by the Connection.execute() method of Connection, or in the ORM by the
Session.execute() method of Session."
Reviewed: https:/ /review. opendev. org/c/openstack /neutron- lib/+/874866 /opendev. org/openstack/ neutron- lib/commit/ 444cec2ba04d129 80b116086b727c7 ff40db63f4
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 444cec2ba04d129 80b116086b727c7 ff40db63f4
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sat Feb 18 14:50:58 2023 +0100
[sqlalchemy-20] Use Connection. execute( ) instead of Engine.execute()
According to the SLQAlchemy documentation, "the Engine.execute() method execute( ) method of Connection, or in the ORM by the execute( ) method of Session."
is considered legacy as of the 1.x series of SQLAlchemy and will be
removed in 2.0. All statement execution in SQLAlchemy 2.0 is performed
by the Connection.
Session.
Change-Id: Ic4d7a0740f7136 cac2055e57e57f6 6e76cb150f3
Closes-Bug: #2008223