Well, I tried:

    select( [... some things ... ],
            from_obj = table1.outerjoin(table2, table1.fgn_key = table2.key) )

and got very unfriendly:

   iteration over non-sequence

message. Adding [ ] helped, the clause below is OK:

    select( [... some things ... ],
            from_obj = [ table1.outerjoin(table2, table1.fgn_key = table2.key) 
] )

but ... wouldn't it make sense to add this if in from_obj parameter
handling?  Even in SQLAlchemy docs most cases where from_obj is used
refer to single value...

(note: .outerjoin's are particularly frequent when we are referring
databases not created by sqlalchemy and not having full
primary/foreign keys info)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to