SQL::Composer::Update - UPDATE statement
my $expr = SQL::Composer::Update->new( table => 'table', values => [a => 'b'], where => [c => 'd'] ); my $sql = $expr->to_sql; # 'UPDATE `table` SET `a` = ? WHERE `c` = ?' my @bind = $expr->to_bind; # ['b', 'd']
To install SQL::Composer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SQL::Composer
CPAN shell
perl -MCPAN -e shell install SQL::Composer
For more information on module installation, please visit the detailed CPAN module installation guide.