The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test::DBIC::Profiler - a simple DBIC profiler

SYNOPSIS

See Test::DBIC::Calls for how to use. This class extends DBIx::Class::Storage::Statistics and could alternatively be used as per that class.

METHODS

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 => ... }, ... ]

AUTHOR

osfameron <osfameron@cpan.org> 2014