You need to be using join() and not joinedload() here.   You shouldn't care
about the columns or syntaxes that joinedload() renders.  Search the docs
for "the zen of eager loading",


On Wednesday, May 25, 2016, Andrew Pashkin <andrew.pash...@gmx.co.uk> wrote:

> On 05/25/2016 06:01 PM, Mike Bayer wrote:
>
>> I can make guesses as to what that's asking but I'd rather you clarify.
>> What you do mean "get"?  like, render in the FROM clause?  or a python
>> accessor like "my_statement.columns" ?   the .c. collection there has the
>> columns in the order that they are rendered in the columns clause, it's
>> iterable.
>>
> By "order" I meant, that in SELECT ... FROM foo LEFT JOIN bar ON ...
> query, the columns of foo would be placed first and the columns of bar
> second.
> And by "get" I meant Column objects or something else, that would
> unambiguously define them.
>
> --
> 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 sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to