svilen wrote:
> 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...

then just use select() for more specificity.

>
> Which means - cripple the _locate_prop() to look only 1 level down,
> making it predictable.

it will match the first level it finds.  its 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..

no need for wishing... just make yourself a MapperExtension that plugs
whatever functionality you want into the select_by() method.


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