File Coverage

blib/lib/DBIx/DataModel/Schema/ResultAs/Statement.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 1 1 100.0
total 21 21 100.0


line stmt bran cond sub pod time code
1             #----------------------------------------------------------------------
2             package DBIx::DataModel::Schema::ResultAs::Statement;
3             #----------------------------------------------------------------------
4 4     4   2226 use warnings;
  4         9  
  4         128  
5 4     4   21 use strict;
  4         10  
  4         81  
6              
7 4     4   16 use parent 'DBIx::DataModel::Schema::ResultAs';
  4         7  
  4         22  
8              
9 4     4   178 use namespace::clean;
  4         7  
  4         24  
10              
11             sub get_result {
12 8     8 1 17 my ($self, $statement) = @_;
13              
14 8         24 delete $statement->{args}{-result_as};
15 8         87 return $statement;
16             }
17              
18             1;
19              
20              
21              
22             __END__