Name : perl-Test-DBIC-ExpectedQueries
| |
Version : 2.2.0
| Vendor : Mageia_Org
|
Release : 1.mga8
| Date : 2020-05-10 07:01:37
|
Group : Development/Perl
| Source RPM : perl-Test-DBIC-ExpectedQueries-2.2.0-1.mga8.src.rpm
|
Size : 0.05 MB
| |
Packager : tv < tv>
| |
Summary : Test that only expected DBIx::Class queries are run
|
Description :
Ensure that only the DBIx::Class SQL queries you expect are executed while a particular piece of code under test is run. Find the places in your code where the unexpected queries are executed.
Avoiding the n+1 problem When following a relation off a DBIC row object it\'s easy to overlook the fact that it might be causing one query for each and every row in the resultset. This can easily be solved by prefetching those relations, but you have to know it happens first.
This module will help you finding unexpected queries, where they are being caused, and to ensure you don\'t accidentally start running many single-row queries in the future.
|
RPM found in directory: /vol/rzm3/linux-mageia/distrib/8/aarch64/media/core/release |