Subject: | Feature request: selectall_arrayref, etc, return the statement handle too |
Currently $dbh->selectall_arrayref returns a single scalar, which is an
array reference of the results. It would be useful for it to return the
statement handle too:
($ary_ref, $sth) = $dbh->selectall_arrayref($statement);
The caller could then fish out statement attributes from $sth if wanted.
In scalar context, it would still return just the results arrayref, so
this would be backwards compatible.
selectall_hashref and selectcol_arrayref should similarly return the sth.