Comment 1 for bug 315188

Revision history for this message
James Henstridge (jamesh) wrote : Re: Inconsistencies in WHERE-type parameters

I'd guess that "Club.bouncer == BouncerCompany.teamID" works fine too. The problem is that the Reference.__eq__() method doesn't cover "Reference == Reference".

We should be able to support that case when the remote key of both relations is the same (in which case we can just compare the local keys of the two relations).