Package : perl-Test-DBIC-ExpectedQueries > RPM : perl-Test-DBIC-ExpectedQueries-2.2.0-2.mga9.noarch.rpm

Basic items

Install
Name perl-Test-DBIC-ExpectedQueries
Version 2.2.0
Release 2.mga9
URL https://metacpan.org/release/Test-DBIC-ExpectedQueries
Group Development/Perl
Summary Test that only expected DBIx::Class queries are run
Size 52KB
Arch noarch
License GPLv1+ or Artistic

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.

Media information

Distribution release Mageia cauldron
Media name core-release
Media arch x86_64

Advanced items

Source RPM perl-Test-DBIC-ExpectedQueries-2.2.0-2.mga9.src.rpm
Build time 2022-03-22 23:18:33
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie