]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- changed "for_update" parameter to accept False/True/"nowait"
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 10 Sep 2006 23:52:04 +0000 (23:52 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 10 Sep 2006 23:52:04 +0000 (23:52 +0000)
commit47d8b03b14145997fc0936bd674363f0e213f019
tree64e9356d7c5f435b68d7deaa8b41c6a4cdc5c521
parent287bf217958fbccb07cffafcc4481a2b6c7f2784
- changed "for_update" parameter to accept False/True/"nowait"
and "read", the latter two of which are interpreted only by
Oracle and Mysql [ticket:292]
- added "lockmode" argument to base Query select/get functions,
including "with_lockmode" function to get a Query copy that has
a default locking mode.  Will translate "read"/"update"
arguments into a for_update argument on the select side.
[ticket:292]
CHANGES
lib/sqlalchemy/ansisql.py
lib/sqlalchemy/databases/mysql.py
lib/sqlalchemy/databases/oracle.py
lib/sqlalchemy/orm/query.py
test/sql/select.py