Set the constraints for an eager load of the relation.

        :type models: list

def add_eager_constraints(self, models):
        """
        Set the constraints for an eager load of the relation.

        :type models: list
        """
        self._models = Collection.make(models)
        self._build_dictionary(models)