Group
Extension

Daje-Plugin-GenerateSQL/lib/Daje/Plugin/SQL/Base/Common.pm

package Daje::Plugin::SQL::Base::Common;
use Mojo::Base -base, -signatures;

has 'json';
has 'template';
has 'sql';
has 'index';
has 'version';

our $VERSION = "0.01";

sub shift_section ($self, $array) {
    my $result = {};
    my $test = ref $array;
    if (ref $array eq 'ARRAY') {
        $result = shift(@{$array});
    }
    return $result;
}
sub set_sql($self, $sqlin) {
    $self->sql($sqlin);
}
1;

#################### pod generated by Pod::Autopod - keep this line to make pod updates possible ####################

=head1 NAME

Daje::Plugin::SQL::Base::Common


=head1 DESCRIPTION

pod generated by Pod::Autopod - keep this line to make pod updates possible ####################


=head1 REQUIRES

L<Mojo::Base> 


=head1 METHODS

=head2 set_sql($self,

 set_sql($self,();

=head2 shift_section

 shift_section();


=cut



Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.