Test::DBIC::Profiler - a simple DBIC profiler
See Test::DBIC::Calls for how to use. This class extends DBIx::Class::Storage::Statistics and could alternatively be used as per that class.
call_count
Returns the number of calls made to the database.
all_calls
Returns a list of calls made, as an array of hashes:
[ { sql => ..., params => [...], elapsed => ... }, ... ]
osfameron <osfameron@cpan.org> 2014-2017 Alexander Hartmaier <abraxxa@cpan.org> 2017
To install Test::DBIx::Class::Stats, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::DBIx::Class::Stats
CPAN shell
perl -MCPAN -e shell install Test::DBIx::Class::Stats
For more information on module installation, please visit the detailed CPAN module installation guide.