File Coverage

blib/lib/SQL/Wizard/Expr/Update.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 1 0.0
total 15 16 93.7


line stmt bran cond sub pod time code
1             package SQL::Wizard::Expr::Update;
2              
3 14     14   70 use strict;
  14         52  
  14         476  
4 14     14   53 use warnings;
  14         17  
  14         718  
5 14     14   68 use parent 'SQL::Wizard::Expr';
  14         18  
  14         64  
6              
7             sub new {
8 6     6 0 14 my ($class, %args) = @_;
9             # args: table => 'users' or [...with joins], set => {...},
10             # where => {...}, from => [...], returning => [...], limit => $n
11 6         51 $class->SUPER::new(%args);
12             }
13              
14             1;