]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Custom comparator classes used in conjunction with
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 Jan 2009 18:22:50 +0000 (18:22 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 Jan 2009 18:22:50 +0000 (18:22 +0000)
commit50dfbc7e793f1bcfdd22f9cffcefde31f14b186b
tree000b7150983c40ec134a31b0d7b3addc0c679b30
parenta52a0c43c3d4880df53c46d1fd92fcf8d1a3a758
- Custom comparator classes used in conjunction with
column_property(), relation() etc. can define
new comparison methods on the Comparator, which will
become available via __getattr__() on the
InstrumentedAttribute.   In the case of synonym()
or comparable_property(), attributes are resolved first
on the user-defined descriptor, then on the user-defined
comparator.
CHANGES
examples/postgis/postgis.py
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/properties.py
test/orm/mapper.py