Re: [Sqlalchemy-users] Problem with multiple one-to-many relations and backreferences

2006-07-20 Thread Vasily Sulatskov
Hello Michael, Thanks a lot, that helped. > yeah i can tell you exactly why this is this way. > when the backref is created, the 0.1 series just re-used the join > conditions from the original relation (in the case of a primary and > secondary join on a many-to-many, it reverses them). in 0

Re: [Sqlalchemy-users] Problem with multiple one-to-many relations and backreferences

2006-07-20 Thread Michael Bayer
yeah i can tell you exactly why this is this way.when the backref is created, the 0.1 series just re-used the join conditions from the original relation (in the case of a primary and secondary join on a many-to-many, it reverses them).  in 0.2 there were some problems with thatmore complicated

[Sqlalchemy-users] Problem with multiple one-to-many relations and backreferences

2006-07-20 Thread Vasily Sulatskov
Hello, I have table "people" and table "accounts", each person can be payer for any amount of accounts and reciever (perhaps I use wrong word, but I can't find any better word) for any amount of accounts. This can be done as two one-to-many relations. I also use backreferences. And when I say som