File Coverage

blib/lib/DBIx/Class/Helper/ResultSet/Shortcut/RemoveColumns.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::RemoveColumns;
2             $DBIx::Class::Helper::ResultSet::Shortcut::RemoveColumns::VERSION = '2.036000';
3 57     57   24678 use strict;
  57         146  
  57         1507  
4 57     57   286 use warnings;
  57         117  
  57         1365  
5              
6 57     57   263 use parent 'DBIx::Class::ResultSet';
  57         129  
  57         289  
7              
8             __PACKAGE__->load_components('Helper::ResultSet::RemoveColumns');
9              
10 1     1 0 1125 sub remove_columns { shift->search(undef, { remove_columns => shift }) }
11              
12             1;
13              
14             __END__
15              
16             =pod
17              
18             =head1 NAME
19              
20             DBIx::Class::Helper::ResultSet::Shortcut::RemoveColumns
21              
22             =head1 AUTHOR
23              
24             Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
25              
26             =head1 COPYRIGHT AND LICENSE
27              
28             This software is copyright (c) 2020 by Arthur Axel "fREW" Schmidt.
29              
30             This is free software; you can redistribute it and/or modify it under
31             the same terms as the Perl 5 programming language system itself.
32              
33             =cut