Mysql
 sql >> Base de Dados >  >> RDS >> Mysql

Doctrine DBAL setParameter() com valor de array


Tente com
$builder->andWhere('type IN (:string)');
$builder->setParameter('string', array('first','second'), \Doctrine\DBAL\Connection::PARAM_STR_ARRAY);