diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-10-04 22:39:19 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-10-04 22:39:19 +0000 |
| commit | a9a4da62cfe4a7dbe6afff1f993e161e8243a6dc (patch) | |
| tree | 9e98a22be2db887741208afe1176698e56f62d02 /lib/sqlalchemy/engine | |
| parent | f4871697774a512bebf0dd11866d3b0e8eb54b91 (diff) | |
| download | sqlalchemy-a9a4da62cfe4a7dbe6afff1f993e161e8243a6dc.tar.gz | |
- using contains_eager() against an alias combined with an overall query alias repaired - the
contains_eager adapter wraps the query adapter, not vice versa. Test coverage added.
- contains_eager() will now add columns into the "primary" column collection within Query._compile_context(), instead
of the "secondary" collection. This allows those columns to get wrapped within the subquery generated
by limit/offset in conjunction with an ORM-generated eager join.
Eager strategy also picks up on context.adapter in this case to deliver the columns during result load.
contains_eager() is now compatible with the subquery generated by a regular eager load
with limit/offset. [ticket:1180]
Diffstat (limited to 'lib/sqlalchemy/engine')
0 files changed, 0 insertions, 0 deletions
