]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- the "synonym" function is now directly usable with
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 15 Mar 2008 20:18:54 +0000 (20:18 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 15 Mar 2008 20:18:54 +0000 (20:18 +0000)
commit288f9d53e37853825652074fcd5d1063f5c8992f
treea708339d249da9e3e7e18b8ab2c1355a47b40608
parente15813837f4fb050b305e7c6020c1292f0ee1e8e
- the "synonym" function is now directly usable with
"declarative".  Pass in the decorated property using
the "instrument" keyword argument, e.g.:
somekey = synonym('_somekey', instrument=property(g, s))
- declared_synonym deprecated
CHANGES
doc/build/content/plugins.txt
lib/sqlalchemy/ext/declarative.py
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
test/ext/declarative.py