What else is new? (since the book)
$dbh->bind_param_array(1, \@array_of_values, \%attr)
$tuples = $sth->execute_array(\%attr) # use bind_param_array
$tuples = $sth->execute_array(\%attr, \@list_of_arrayrefs)
$tuples = $sth->execute_array({ ArrayTupleFetch => sub { … } })
$tuples = $sth->execute_array({ ArrayTupleFetch => $sth })
$tuples = $sth->execute_array({ ArrayTupleStatus => \@ary, ... })
- Returns count of executions, including failures
- Use ArrayTupleStatus attribute to get row count or error details for each
- DBI provides default methods that work for all drivers
- Some drivers support use of specific database API for very high performance