On 9/27/07, jawarumnur <[EMAIL PROTECTED]> wrote: > mh, you're right. > I'm not yet very familiar with sqlalchemy since this is my first try. > I thought about a WHERE clause additional to the join condition to > differentiate the genders but probably that won't work either. > I'll try to use python properties then, I think.
You can probably get aĆ° "children" property by using a join condition that "or"-s together the join on father_id and mother_id, but it will be read-only at best. I.e. you won't be able to just "append" person objects on it. Arnar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---