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   2866 use warnings;
  4         12  
  4         163  
5 4     4   26 use strict;
  4         21  
  4         102  
6              
7 4     4   30 use parent 'DBIx::DataModel::Schema::ResultAs';
  4         10  
  4         30  
8              
9 4     4   257 use namespace::clean;
  4         17  
  4         30  
10              
11             sub get_result {
12 8     8 1 20 my ($self, $statement) = @_;
13              
14 8         20 delete $statement->{args}{-result_as};
15 8         100 return $statement;
16             }
17              
18             1;
19              
20              
21              
22             __END__