]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- decoupled all ColumnElements from also being Selectables. this means
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 9 Aug 2007 21:50:23 +0000 (21:50 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 9 Aug 2007 21:50:23 +0000 (21:50 +0000)
commit578efcfeb3b0b177ce559f5e7748c02f2fc263a7
tree701f524427eb889317f1d8df21fa6f557fc64748
parent72b02cc09364da3f7be9e2cac5e2fb5db4222a2d
- decoupled all ColumnElements from also being Selectables.  this means
that anything which is a column expression does not have a "c" or a
"columns" attribute.  Also works for select().as_scalar(); _ScalarSelect
is a columnelement, so you can't say select().as_scalar().c.foo, which is
a pretty confusing mistake to make.  in the case of _ScalarSelect made
an explicit raise if you try to access 'c'.
doc/build/testdocs.py
lib/sqlalchemy/sql.py
test/sql/select.py