- changed milestone to 0.5.xx
with_lockmode() doesn't allow db-native lockmodes
Issue #814
resolved
with_lockmode(mode)
processing is restricting the set of allowed values to 'read', 'update', and 'update_nowait', but only the dialect is really qualified to make that decision. Maybe push the string translation responsibility down to the for_update_clause
.
Comments (4)
-
reporter -
repo owner - changed watchers to kb@retailarchitects.com
- changed milestone to 0.7.xx
-
repo owner - changed status to resolved
with_lockmode() has been superseded by with_for_update(), which is available with the same calling interface on both select() and Query. It accepts "read", "nowait" as flags as well as "of". so we've exposed the SQL level detail of "FOR UPDATE" and there's not really any translation anymore. with_lockmode() itself translates the string codes into those flags which are then interpreted by the dialect.
-
repo owner - changed milestone to 1.x.xx
- Log in to comment