lib/UR/DataSource/RDBMS/Operator/LessOrEqual.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 | 4 | 4 | 2469 | use strict; | |||
4 | 5 | ||||||
4 | 123 | ||||||
2 | 4 | 4 | 14 | use warnings; | |||
4 | 5 | ||||||
4 | 398 | ||||||
3 | |||||||
4 | package UR::DataSource::RDBMS::Operator::LessOrEqual; | ||||||
5 | |||||||
6 | sub generate_sql_for { | ||||||
7 | 32 | 32 | 0 | 52 | my($class, $expr_sql, $val, $escape) = @_; | ||
8 | |||||||
9 | 32 | 51 | my $sql = "$expr_sql <= ?"; | ||||
10 | 32 | 95 | return ($sql, $val); | ||||
11 | } | ||||||
12 | |||||||
13 | 1; |