=for comment POD_DERIVED_INDEX_GENERATED
The following documentation is automatically generated.  Please do not edit
this file, but rather the original, inline with DBIx::Class::Storage::Debug::PrettyPrint
at lib/DBIx/Class/_TempExtlib/DBIx/Class/Storage/Debug/PrettyPrint.pm
(on the system that originally ran this).
If you do edit this file, and don't want your changes to be removed, make
sure you change the first line.

=cut

=head1 NAME

DBIx::Class::Storage::Debug::PrettyPrint - Pretty Printing DebugObj

=head1 SYNOPSIS

 DBIC_TRACE_PROFILE=~/dbic.json perl -Ilib ./foo.pl

Where dbic.json contains:

 {
   "profile":"console",
   "show_progress":1,
   "squash_repeats":1
 }

=head1 METHODS

=head2 new

 my $pp = DBIx::Class::Storage::Debug::PrettyPrint->new({
   show_progress  => 1,             # tries it's best to make it clear that a SQL
                                    # statement is still running
   executing      => '...',         # the string that is added to the end of SQL
                                    # if show_progress is on.  You probably don't
                                    # need to set this
   clear_line     => '<CR><ESC>[J', # the string used to erase the string added
                                    # to SQL if show_progress is on.  Again, the
                                    # default is probably good enough.

   squash_repeats => 1,             # set to true to make repeated SQL queries
                                    # be ellided and only show the new bind params
   # any other args are passed through directly to SQL::Abstract::Tree
 });

=head1 INHERITED METHODS

=over 4

=item L<DBIx::Class::Storage::Statistics>

L<debugfh|DBIx::Class::Storage::Statistics/debugfh>, L<silence|DBIx::Class::Storage::Statistics/silence>, L<svp_begin|DBIx::Class::Storage::Statistics/svp_begin>, L<svp_release|DBIx::Class::Storage::Statistics/svp_release>, L<svp_rollback|DBIx::Class::Storage::Statistics/svp_rollback>, L<txn_begin|DBIx::Class::Storage::Statistics/txn_begin>, L<txn_commit|DBIx::Class::Storage::Statistics/txn_commit>, L<txn_rollback|DBIx::Class::Storage::Statistics/txn_rollback>

=back

