]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- fixed bug whereby session.expire() attributes were not
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 1 Mar 2008 01:46:23 +0000 (01:46 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 1 Mar 2008 01:46:23 +0000 (01:46 +0000)
commit075eb9076b7bf61351f4ee0465babe4e90e57d20
treecacbc061e051856f39b0a44f7a5eacc9542dafeb
parentbda6f1e06ff3a7d63675833d9bb0d52e82852836
- fixed bug whereby session.expire() attributes were not
loading on an polymorphically-mapped instance mapped
by a select_table mapper.

- added query.with_polymorphic() - specifies a list
of classes which descend from the base class, which will
be added to the FROM clause of the query.  Allows subclasses
to be used within filter() criterion as well as eagerly loads
the attributes of those subclasses.

- deprecated Query methods apply_sum(), apply_max(), apply_min(),
apply_avg().  Better methodologies are coming....
CHANGES
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/query.py
test/orm/generative.py
test/orm/inheritance/query.py
test/orm/query.py