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