The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

OpenResty::RestyScript::View - RestyScript (for Views) compiler in pure Perl

SYNOPSIS

    use OpenResty::RestyScript::View;

    my $restyscript = OpenResty::RestyScript::View->new;
    my $res = $restyscript->parse(
        'select * from Post where $col > $val',
        {
            quote => sub { $dbh->quote(@_) },
            quote_ident => sub { $dbh->quote_identifier(@_) },
        }
    );

DESCRIPTION

This compiler class is generated automatically by Parse::Yapp from the grammar file grammar/restyscript-view.yp.

AUTHOR

Agent Zhang (agentzh) <agentzh at yahoo dot cn>

SEE ALSO

OpenResty::Handler::View, OpenResty.