]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- got self-referential query.join()/query.outerjoin() to work.
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 22 Jul 2007 14:07:15 +0000 (14:07 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 22 Jul 2007 14:07:15 +0000 (14:07 +0000)
commit94ea86c195cc8c39ccd9a109be5bd31c2e9ca7cf
treebd394667a002b945dc06edba51ab7b871cfbaeb3
parentda72aac46508867e3b90120c6a07c04bff926e37
- got self-referential query.join()/query.outerjoin() to work.
- PropertyLoader adds local_side set which is the opposite of remote_side, makes
the self-referential aliasing a snap.
- added "id" argument to join()/outerjoin() to allow access to the aliased joins
in add_entity().
- added "alias" argument to add_entity() to get at entities selected from an explicit
Alias
- starting to move EagerLoader.AliasedClasues to a general utility function which
will be used by Query as well
CHANGES
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/sql_util.py
test/orm/eager_relations.py
test/orm/generative.py
test/orm/query.py