]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
deprecated "selectalias" argument on eager loader, do use_alias=True
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 9 Feb 2006 00:33:26 +0000 (00:33 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 9 Feb 2006 00:33:26 +0000 (00:33 +0000)
commit3051a6957369ede59e51461c89953a9973e25708
tree52bdecb55608fa05172558e40523e0d8c31f31ac
parente649626877418663681723b2a4e840032f85a845
deprecated "selectalias" argument on eager loader, do use_alias=True
"eager alias" flag will propigate to child eager loaders so the full query comes
out OK.  mappers/properties have overhauled "copy" methodology.  mappers
are no longer "singleton" and no longer have elaborate "hash_key" methods - there
is a primary mapper associated with a class which is done via direct dictionary
relationship, and the options() method on mapper does its own lighter-weight caching
of created mappers.  the unitofwork does extra work with the mappers it receives
to insure its dealing with "the primary" mapper, so that properties can be more liberal
about which mapper they reference (i.e. not the primary one).
options() works better but still could use a looking-at to see that
its not wasteful.  simplified mapper() method in __init__.
lib/sqlalchemy/mapping/__init__.py
lib/sqlalchemy/mapping/mapper.py
lib/sqlalchemy/mapping/objectstore.py
lib/sqlalchemy/mapping/properties.py