SQL::Composer::Insert - INSERT statement
my $insert = SQL::Composer::Insert->new(into => 'table', values => [foo => 'bar']); my $sql = $insert->to_sql; # 'INSERT INTO `table` (`foo`) VALUES (?)' my @bind = $insert->to_bind; # ['bar']
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.