SQL::Composer::Delete - DELETE statement
my $delete = SQL::Composer::Delete->new(from => 'table', where => [a => 'b']); my $sql = $delete->to_sql; # 'DELETE FROM `table` WHERE `a` = ?' my @bind = $delete->to_bind; # ['b']
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.