diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-05-15 09:39:19 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-05-24 16:23:56 -0400 |
commit | de11c5217b4c62f86dfd05a28689159095ab1024 (patch) | |
tree | 0b1521f3f770f47ea209c4a45ab51a7f225e2fca /lib/sqlalchemy/sql/schema.py | |
parent | 9a37503bbedcb958e515ea91c2322efb96bf2680 (diff) | |
download | sqlalchemy-de11c5217b4c62f86dfd05a28689159095ab1024.tar.gz |
Add with_for_update() support in session.refresh()
Session.refresh() is still hardcoded to legacy lockmode,
come up with a new API so that the newer argument style
works with it.
Added new argument :paramref:`.with_for_update` to the
:meth:`.Session.refresh` method. When the :meth:`.Query.with_lockmode`
method were deprecated in favor of :meth:`.Query.with_for_update`,
the :meth:`.Session.refresh` method was never updated to reflect
the new option.
Change-Id: Ia02a653746b7024699b515451525a88d7a17d63a
Fixes: #3991
Diffstat (limited to 'lib/sqlalchemy/sql/schema.py')
0 files changed, 0 insertions, 0 deletions