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   3001 use warnings;
  4         9  
  4         238  
5 4     4   17 use strict;
  4         7  
  4         159  
6              
7 4     4   18 use parent 'DBIx::DataModel::Schema::ResultAs';
  4         7  
  4         24  
8              
9 4     4   200 use namespace::clean;
  4         7  
  4         28  
10              
11             sub get_result {
12 10     10 1 23 my ($self, $statement) = @_;
13              
14 10         23 delete $statement->{args}{-result_as};
15 10         111 return $statement;
16             }
17              
18             1;
19              
20              
21              
22             __END__