Help language development. Donate to The Perl Foundation

SQL::NamedPlaceholder cpan:ASTJ last updated on 2017-07-01

SQL-NamedPlaceholder-0.1.1/

Build Status

NAME

SQL::NamedPlaceholder - extension of placeholder

SYNOPSIS

use SQL::NamedPlaceholder;

my ($sql, $bind) = bind-named(q[
    SELECT *
    FROM entry
    WHERE
        user_id = :user_id
], {
    user_id => $user_id
});

$dbh.prepare($sql).execute(|$bind);

DESCRIPTION

SQL::NamedPlaceholder is extension of placeholder. This enable more readable and robust code.

FUNCTION

SYNTAX

AUTHOR

astj [email protected]

ORIGINAL AUTHOR

This module is port of SQL::NamedPlaceholder in Perl5.

Author of original SQL::NamedPlaceholder in Perl5 is cho45 [email protected].

SEE ALSO

SQL::NamedPlaceholder in Perl5

LICENSE

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

Original Perl5's SQL::NamedPlaceholder is licensed under following terms:

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.