Helper/ResultSet/OneRow.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Helper/ResultSet/NoColumns.pm ↑ Summary Helper/ResultSet/Shortcut.pm »
1 package DBIx::Class::Helper::ResultSet::OneRow;
2 56 $DBIx::Class::Helper::ResultSet::OneRow::VERSION = '2.037000';
3 # ABSTRACT: The first you always wanted
4  
5 56 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 56 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 56 ▶use parent 'DBIx::Class::ResultSet';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 5 ▶sub one_row { shift->search(shift, { rows => 1})->next }
Subroutine one_row: called CC=1 SCAR=0.0
Pod documented
11  
12 56 1;
13  
14 __END__
« Helper/ResultSet/NoColumns.pm ↑ Summary Helper/ResultSet/Shortcut.pm »