The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

SQL::Composer::Delete - DELETE statement

SYNOPSIS

    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']