kazeburo/DBIx-Sunny — pull request #2 by motemen (2012-06-27 11:49:48+00:00)
Title: fill_arrayref() with multiple arrayref binds

When querying methods like `$dbh->select_all` are called with multiple arrayref bind parameters, such as

$dbh->select_all(
'SELECT * FROM foo WHERE e IN (?) OR e IN (?)',
[ 'a', 'b' ],
[ 'x', 'y', 'z' ],
);

Generated query's placeholders are misplaced:

SELECT * FROM foo WHERE e IN ('a','b','x','y') OR e IN ('z')

This pull-req fixes this problem, thus the query generated will be:

SELECT * FROM foo WHERE e IN ('a','b') OR e IN ('x','y','z')

よろしくお願いします。