blib/lib/blx/xsdsql/generator/sql/generic/handle/addpk.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 27 CC 2 SCAR 12.0
CC
2
Cov
0%
get_binding_objects
6.0
table_header
2.0
BEGIN
2.0
CRAP 3.3
1 package blx::xsdsql::generator::sql::generic::handle::addpk;
2 use strict; # use strict is for PBP
3 use Filter::Include;
4 include blx::xsdsql::include;
5 #line 6
6 use base qw(blx::xsdsql::generator::sql::generic::handle);
7  
8 sub get_binding_objects {
9 my ($self,$schema,%params)=@_;
10 my $root_table=$schema->get_root_table;
11 return wantarray ? ( $root_table ) : [ $root_table ];
12 }
13  
14 sub table_header {
15 my ($self,$table,%params)=@_;
16 $self->_create_indexes($table,%params);
17 return $self;
18 }
19  
20 1;
21  
22 __END__