We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
DBIx::Custom Documents >
Create assiging part in update statement by assign_clause method.
assign_clause
my $param = {id => 1, title => 'Perl'}; my $assign_clause = $dbi->assign_clause($param);
This the following string.
id = :id, title = :title
You can create update statement using this.
my $update_sql = "update book set $assign_clause";
You can execute this SQL by execute method.
execute
$dbi->execute($update_sql, $param);