http://www.sqlalchemy.org/docs/datamapping.myt#datamapping_selectrelations_relselectby

Unfortunately I think if your Person has a name attribute too you have
no alternative but to write the join out the "long" way.  (I'd love to
find out I'm wrong though. :)

On 1/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> hi.
> Lets have a Person having .address having .country having .name.
> How would "give-me-persons-which-live-in France" be expressed in SA
> (sorry for my SQL ignorance)?
> e.g. all-persons-for-which person.address.country.name == 'France'
>
> thanks
> svil
>
> >
>

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