Hi.

Could anyone help me with "translating" the following SQL to Sqlalchemy 
Core?

SELECT A.id,
       B.id,
       C.id
FROM A
LEFT OUTER JOIN B
ON B.some_col = A.some_col
LEFT OUTER JOIN C
ON C.other_col = A.other_col


The problem I'm facing is that the *Select().select_from(fromclause*) 
method only accepts only one *fromclause* object. In my mind, it would be 
just nice if *select_from* could accept multiple join objects, as it seems 
to happen on the raw SQL exerpt above.

How would you guys compose this selectable using core?

Thanks in advance!!!

-- 
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 http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to