lib/UR/DataSource/RDBMS/Operator/NotBetween.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 | 1 | 1 | 695 | use strict; | |||
1 | 2 | ||||||
1 | 33 | ||||||
2 | 1 | 1 | 4 | use warnings; | |||
1 | 1 | ||||||
1 | 122 | ||||||
3 | |||||||
4 | package UR::DataSource::RDBMS::Operator::NotBetween; | ||||||
5 | |||||||
6 | sub generate_sql_for { | ||||||
7 | 3 | 3 | 0 | 9 | my($class, $expr_sql, $val, $escape) = @_; | ||
8 | |||||||
9 | 3 | 8 | my $sql = "$expr_sql not between ? and ?"; | ||||
10 | 3 | 15 | return ($sql, @$val); | ||||
11 | } | ||||||
12 | |||||||
13 | 1; |