File Coverage

blib/lib/SQL/Wizard/Expr/Insert.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::Insert;
2              
3 14     14   79 use strict;
  14         23  
  14         475  
4 14     14   57 use warnings;
  14         22  
  14         643  
5 14     14   64 use parent 'SQL::Wizard::Expr';
  14         22  
  14         62  
6              
7             sub new {
8 7     7 0 14 my ($class, %args) = @_;
9             # args: into => 'table', values => {...} or [[...],[...]], columns => [...],
10             # select => $select, on_conflict => {...}, on_duplicate => {...}, returning => [...]
11 7         17 $class->SUPER::new(%args);
12             }
13              
14             1;