def add_eager_constraints(self, models):
        self._query.where_in(self.get_foreign_key(), self.get_keys(models))
Test driver param indices with pyOptSparse and force_fd=True
dataset/ETHPy150Open sdispater/orator/orator/orm/relations/belongs_to_many.py/BelongsToMany.add_eager_constraints--crossover with--dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/drivers/test/test_driver_param_indices.py/TestParamIndicesPyoptsparse.test_driver_param_indices_force_fd