File Coverage

blib/lib/DBIx/Class/Helper/ResultSet/Shortcut/HRI.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 1 0.0
total 14 15 93.3


line stmt bran cond sub pod time code
1             package DBIx::Class::Helper::ResultSet::Shortcut::HRI;
2             $DBIx::Class::Helper::ResultSet::Shortcut::HRI::VERSION = '2.035000';
3 57     57   25706 use strict;
  57         143  
  57         1694  
4 57     57   322 use warnings;
  57         149  
  57         1860  
5              
6 57     57   317 use parent 'DBIx::Class::ResultSet';
  57         155  
  57         324  
7              
8             sub hri {
9             shift->search(undef, {
10 2     2 0 148 result_class => 'DBIx::Class::ResultClass::HashRefInflator' })
11             }
12              
13             1;
14              
15             __END__
16              
17             =pod
18              
19             =head1 NAME
20              
21             DBIx::Class::Helper::ResultSet::Shortcut::HRI
22              
23             =head1 AUTHOR
24              
25             Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
26              
27             =head1 COPYRIGHT AND LICENSE
28              
29             This software is copyright (c) 2020 by Arthur Axel "fREW" Schmidt.
30              
31             This is free software; you can redistribute it and/or modify it under
32             the same terms as the Perl 5 programming language system itself.
33              
34             =cut