def add_constraints(self):
        raise NotImplementedError
Set the base constraints on the relation query.
dataset/ETHPy150Open sdispater/orator/orator/orm/relations/relation.py/Relation.add_constraints