diff options
| author | raylu <lurayl@gmail.com> | 2019-03-20 17:22:19 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-03-21 10:25:29 -0400 |
| commit | 8acbc2624fb4b457e47fab93e6a44a1e37caeddc (patch) | |
| tree | 98ffb5abf8eff9dd19a8f05bca47677a2a3ec17c /doc | |
| parent | 8eaccf16aca90ef09e8e39cd06940ac8a51b5b38 (diff) | |
| download | sqlalchemy-8acbc2624fb4b457e47fab93e6a44a1e37caeddc.tar.gz | |
Expand joins when calculating PostgreSQL "WITH FOR UPDATE OF"
Modified the :paramref:`.Select.with_for_update.of` parameter so that if a
join or other composed selectable is passed, the individual :class:`.Table`
objects will be filtered from it, allowing one to pass a join() object to
the parameter, as occurs normally when using joined table inheritance with
the ORM. Pull request courtesy Raymond Lu.
Fixes: #4550
Co-authored-by: Mike Bayer <mike_mp@zzzcomputing.com>
Closes: #4551
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4551
Pull-request-sha: 452da77d154a4087d530456db1c9af207d65cef4
Change-Id: If4b7c231f7b71190d7245543959fb5c3351125a1
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/unreleased_13/4550.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_13/4550.rst b/doc/build/changelog/unreleased_13/4550.rst new file mode 100644 index 000000000..6837baae8 --- /dev/null +++ b/doc/build/changelog/unreleased_13/4550.rst @@ -0,0 +1,10 @@ +.. change:: + :tags: bug, postgresql + :tickets: 4550 + + Modified the :paramref:`.Select.with_for_update.of` parameter so that if a + join or other composed selectable is passed, the individual :class:`.Table` + objects will be filtered from it, allowing one to pass a join() object to + the parameter, as occurs normally when using joined table inheritance with + the ORM. Pull request courtesy Raymond Lu. + |
