We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
DBIx::Custom Documents >
Update all rows by update_all method.
update_all
$dbi->update_all({title => 'Perl', author => 'Ken'}, table => 'book');
First argument is updated data which is hash reference. table opition is set to the table name. The following SQL is executed.
table
update book set title = ?, author = ?;
Correspongind values is enbdded into place holder.