]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- base_columns on ColumnElement becomes a list; as usual, because columns in Compound...
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 5 Nov 2007 17:18:21 +0000 (17:18 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 5 Nov 2007 17:18:21 +0000 (17:18 +0000)
commit977e86dc9be38d9f8a16e1f17141486b0f84a43a
treef2e8b84ef056515e1deabe7fbcc88792d096c066
parent43498def132cbe40d4e7fed1dc51418263fb5d22
- base_columns on ColumnElement becomes a list; as usual, because columns in CompoundSelects
may extend from more than one root column.
- keys_ok argument from corresponding_column() removed.  no more name-based matching of columns anywhere.
- DictDecorator is gone.  all row translators provided by orm.util.create_row_adapter().  Mapper
and contains_alias() cache the adapters on target mapper to avoid re-computation of adapters.
- create_row_adapter() accepts an "equivalent_columns" map as produced by Mapper, so that
row adapters can take join conditions into account (as usual again, to help with the CompoundSelects
produced by polymorphic_union).
- simplified TableSingleton to just provide lookup; moved all initialization into Table.
- the "properties" accessor on Mapper is removed; it now throws an informative
exception explaining the usage of mapper.get_property() and
mapper.iterate_properties
CHANGES
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/schema.py
lib/sqlalchemy/sql/expression.py
lib/sqlalchemy/sql/util.py
lib/sqlalchemy/util.py
test/orm/mapper.py