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).
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).