Data::Printer::Filter::DBIx::Class - (DEPRECATED) Apply special Data::Printer filters to DBIx::Class objects
version 0.000005
In your program:
use Data::Printer filters => { -external => ['DBIx::Class'] };
or, in your .dataprinter file:
.dataprinter
{ filters => { -external => ['DBIx::Class'] } };
Huge chunks of this have been lifted directly from Data::Printer::Filter::DB This filter differs in that it also adds the values from get_columns() to the output. For a DBIx::Class::Row object, the column values are return in the data. For a DBIx::Class::ResultSet, by default the first 5 rows in the ResultSet are returned, with the contents of get_columns() included. You can change this behaviour via $ENV{DDP_DBIC_ROW_LIMIT}.
get_columns()
$ENV{DDP_DBIC_ROW_LIMIT}
# Return up to 1,000 rows per ResultSet $ENV{DDP_DBIC_ROW_LIMIT} = 1000; # Return every row from every ResultSet $ENV{DDP_DBIC_ROW_LIMIT} = 0;
This module breaks with the 1.x release of Data::Printer, but that's ok. Use Data::Printer::Filter::DB instead.
Olaf Alders <olaf@wundercounter.com>
This software is Copyright (c) 2016 by MaxMind, Inc.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Data::Printer::Filter::DBIx::Class, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Printer::Filter::DBIx::Class
CPAN shell
perl -MCPAN -e shell install Data::Printer::Filter::DBIx::Class
For more information on module installation, please visit the detailed CPAN module installation guide.