Re: [Sqlalchemy-users] Redundant info

2006-09-22 Thread Brian Merrell
Michael, Thanks for the quick reply. > this might be useful. but it only helps in a very narrow set of > cases.primaryjoin is not usually needed when theres a non-ambiguous > foreign key relationship, and when primaryjoin is needed, many of those > cases require joins that are more compl

Re: [Sqlalchemy-users] Redundant info

2006-09-22 Thread Michael Bayer
On Sep 22, 2006, at 12:31 PM, Brian Merrell wrote: > > I've had to create four primaryjoin statements yet all of the > pertinent > information is contained in the table declaration. I understand the > initial ambiguity as I have two foreign relations to my "Person" table > and the mapper can't

[Sqlalchemy-users] Redundant info

2006-09-22 Thread Brian Merrell
This if my first post so let me first just say spectacular job to everyone involved. Coming from SQLObject, I was first turned off by the the complexity but have grown to really like the flexibility (and the great documentation) I've created a mapper recently that looks to my untrained eye tha