> how about
>
> q = session.query(D)
> q.select(q.join_via(["address", "country"]) & (Country.c.name ==
> 'france'))
>
> or
>
> q = SelectResults(session.query(D))
> q.join_to("address").join_to("country").select(Country.c.name=='fra
>nce')
>
> im not down with shoving literal strings into **kwargs at all....
well, whatever ...But then query.select_by( name='whatever') may find different .name 's in the obj.hierarchy depending on dict.hashes/iteration, within same run or between different runs, returning very different queries... Which means - cripple the _locate_prop() to look only 1 level down, making it predictable. or.. let the wishful ones to hang themselves using literal strings into **kwargs ... (-:) Matching for key-subpaths within a key-tree (that is, object-attr-hierarchy) is a very powerful thing.. ciao 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 -~----------~----~----~----~------~----~------~--~---
