lib/UR/DataSource/RDBMS/Operator/LessThan.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 | 8 | 8 | 5219 | use strict; | |||
8 | 10 | ||||||
8 | 254 | ||||||
2 | 8 | 8 | 30 | use warnings; | |||
8 | 9 | ||||||
8 | 914 | ||||||
3 | |||||||
4 | package UR::DataSource::RDBMS::Operator::LessThan; | ||||||
5 | |||||||
6 | sub generate_sql_for { | ||||||
7 | 36 | 36 | 0 | 71 | my($class, $expr_sql, $val, $escape) = @_; | ||
8 | |||||||
9 | 36 | 65 | my $sql = "$expr_sql < ?"; | ||||
10 | 36 | 118 | return ($sql, $val); | ||||
11 | } | ||||||
12 | |||||||
13 | 1; |