]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- select().as_scalar() will raise an exception if the select does not have
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 18 Dec 2007 00:24:03 +0000 (00:24 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 18 Dec 2007 00:24:03 +0000 (00:24 +0000)
commitf6068a3522bb92fac18c930eb26798fc4cb1889f
tree2ce96db7758621f605ea605342a106309e134d56
parent420c098d56e9925b51067711c6817475165c6af2
- select().as_scalar() will raise an exception if the select does not have
exactly one expression in its columns clause.
- added "helper exception" to select.type access, generic functions raise
the chance of this happening
- a slight behavioral change to attributes is, del'ing an attribute
does *not* cause the lazyloader of that attribute to fire off again;
the "del" makes the effective value of the attribute "None".  To
re-trigger the "loader" for an attribute, use
session.expire(instance, [attrname]).
- fix ormtutorial for IS NULL
CHANGES
doc/build/content/ormtutorial.txt
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/sql/expression.py
test/orm/attributes.py
test/sql/select.py