File Coverage

lib/UR/DataSource/RDBMS/Operator/Between.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 1 0.0
total 12 13 92.3


line stmt bran cond sub pod time code
1 3     3   1940 use strict;
  3         6  
  3         95  
2 3     3   11 use warnings;
  3         4  
  3         340  
3              
4             package UR::DataSource::RDBMS::Operator::Between;
5              
6             sub generate_sql_for {
7 47     47 0 93 my($class, $expr_sql, $val, $escape) = @_;
8              
9 47         85 my $sql = "$expr_sql between ? and ?";
10 47         174 return ($sql, @$val);
11             }
12              
13             1;