Group
Extension

Matches 2

Mojolicious-Plugin-DataTables ( G/GD/GDT/Mojolicious-Plugin-DataTables-2.01.tar.gz, GDT, 2021; MetaCPAN )
Mojolicious-Plugin-DataTables/lib/Mojolicious/Plugin/DataTables.pm ( view source; MetaCPAN )
ge Mojolicious::Plugin::DataTables;

use Mojo::Base 'Mojolicious::Plugin';
use Mojo::JSON qw(decode_json encode_json true false);
use Mojo::Collection;
use Mojo::DOM::HTML;
use Mojo::ByteStream;
use M
DO

    if ($debug) {
        $log->debug("Query: $stmt");
        $log->debug( "Bind: " . encode_json \@bind );
    }

    my $query = $sql->db->query( $stmt, @bind );

    my @results = ();

    whi
$log->debug( "Bind Total: " . encode_json \@bind_total );
        $log->debug("Query Filtered: $stmt_filter");
        $log->debug( "Bind Filtered: " . encode_json \@bind_filter );
    }

    my $tota
Mojolicious-Plugin-DataTables ( G/GD/GDT/Mojolicious-Plugin-DataTables-2.01.tar.gz, GDT, 2021; MetaCPAN )
Mojolicious-Plugin-DataTables/lib/Mojolicious/Plugin/DataTables/SSP/Results.pm ( view source; MetaCPAN )
s;

use Mojo::Base -base;
use Mojo::JSON qw(encode_json);

our $VERSION = '2.01';

has 'draw';
has 'records_total';
has 'records_filtered';
has 'data';

sub TO_JSON {

    my ($self) = @_;

    return
lugin('DataTables');

    # Mojolicious::Lite
    plugin 'DataTables';

    [...]

    $c->render(json => $c->datatable->ssp_results(
        draw             => 1,
        data             => \@resul
wing methods.

=head2 draw

=head2 records_total

=head2 records_filtered

=head2 data

=head2 TO_JSON


=head1 SEE ALSO

L<Mojolicious>, L<Mojolicious::Guides>, L<https://mojolicious.org>, L<Mojolici

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