On Apr 4, 2008, at 3:25 PM, jason kirtland wrote:

>
> How about keeping it explicit:
>
> query(A.id, Node.name) -> ok

this is not OK since you'll get a cartesian product from A and Node.   
The fact that you'll probably need to join is implicit in the fact  
that you've put two different mappings in the query list (joining them  
within filter() notwithstanding...which is less convenient since you  
have to spell it out by hand, which nobody wants to do).  So even in  
that statement, i think the "mapper zero" desire is always present so  
it might as well be stated as such.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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