]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- slightly better support for bind params as column clauses, either
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 Mar 2007 20:43:34 +0000 (20:43 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 Mar 2007 20:43:34 +0000 (20:43 +0000)
commitcef652a2d612ecbf078d57fbf81abef21a18b631
treef0729e311fc78f7d5b1817ad5ba254ffde5bc8f6
parent5b2cc84aa8d43c503b24bf5342c0babeed5d6d83
- slightly better support for bind params as column clauses, either
via bindparam() or via literal(), i.e. select([literal('foo')])
- removed "table" argument from column().  this does not add the column
to the table anyway so was misleading.
- Select _exportable_columns() only exports Selectable instances
- Select uses _exportable_columns() when searching for engines
instead of _raw_columns for similar reasons (non selectables have no engine)
- _BindParamClause no longer has a _make_proxy().  its not a ColumnElement.
- _Label detects underlying column element and will generate its own
column()._make_proxy() if the element is not a ColumnElement.  this
allows a Label to be declared for nearly anything and it can export
itself as a column on a containing Selectable.
CHANGES
lib/sqlalchemy/sql.py
test/sql/select.py