ZF2-287: The Zend\Db\Sql\Where\In only uses the first value passed
Description
$select = new SqlSelect('user');
$select->where->in('category_id', array(10, 40, 20));
echo $select->getSqlString(new \Zend\Db\Adapter\Platform\Mysql());
Generates: SELECT user.* FROM user WHERE category_id IN ('10')
Expected Result is: SELECT user.* FROM user WHERE category_id IN ('10', '40', '20')
Comments
Posted by Ralph Schindler (ralph) on 2012-05-11T18:11:45.000+0000
Fixed in pull request 1208 / commit 2e12189