Ok, you're gonna have to give me a pointer or two to where the aliasing is 
actually happening internally to get this done.  I've poked and prodded the 
source, but I can't find where the aliasing *actually* happens.

I'm assuming it's in *strategies.py*, and *_generate_row_adapter*, but I 
can't really figure it out.

On Monday, October 1, 2018 at 8:41:27 PM UTC+1, Mike Bayer wrote:

>
> that would be a much easier option to add.   however you need to be OK 
> adding your criteria with "filter" and not as part of the ON clause. 
>
> feel free to provide a PR for that which includes tests.    im not 
> sure how hard of a change it is as the joined eager load code is 
> pretty intricate.  might need some flags propagated in a bunch of 
> places, not sure. 
>
> > -- 
> > SQLAlchemy - 
> > The Python SQL Toolkit and Object Relational Mapper 
> > 
> > http://www.sqlalchemy.org/ 
> > 
> > To post example code, please provide an MCVE: Minimal, Complete, and 
> Verifiable Example. See http://stackoverflow.com/help/mcve for a full 
> description. 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups "sqlalchemy" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at https://groups.google.com/group/sqlalchemy. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to