On Sep 19, 2007, at 12:01 PM, Marcin Kasperski wrote:

>
>
> 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...

yes, probably as a scalar would be convenient.  if you add a trac  
ticket that would be helpful.




--~--~---------~--~----~------------~-------~--~----~
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