File Coverage

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


line stmt bran cond sub pod time code
1             package DBIx::Class::Helper::ResultSet::Shortcut::Columns;
2             $DBIx::Class::Helper::ResultSet::Shortcut::Columns::VERSION = '2.035000';
3 57     57   26560 use strict;
  57         135  
  57         1725  
4 57     57   340 use warnings;
  57         138  
  57         1563  
5              
6 57     57   292 use parent 'DBIx::Class::ResultSet';
  57         140  
  57         330  
7              
8 1     1 1 89 sub columns { shift->search(undef, { columns => shift }) }
9              
10             1;
11              
12             __END__
13              
14             =pod
15              
16             =head1 NAME
17              
18             DBIx::Class::Helper::ResultSet::Shortcut::Columns
19              
20             =head1 AUTHOR
21              
22             Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
23              
24             =head1 COPYRIGHT AND LICENSE
25              
26             This software is copyright (c) 2020 by Arthur Axel "fREW" Schmidt.
27              
28             This is free software; you can redistribute it and/or modify it under
29             the same terms as the Perl 5 programming language system itself.
30              
31             =cut