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


OpenResty documentation  | view source Contained in the OpenResty distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    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

Top

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

AUTHOR

Top

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

SEE ALSO

Top

OpenResty::Handler::View, OpenResty.


OpenResty documentation  | view source Contained in the OpenResty distribution.