blib/lib/DBIO/PostgreSQL/Test/SequenceTest.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DBIO/PostgreSQL/Test/EventTZPg.pm ↑ Summary blib/lib/DBIO/PostgreSQL/Vector.pm »
1 package DBIO::PostgreSQL::Test::SequenceTest;
2 # ABSTRACT: Test result class for PostgreSQL sequence tests
3  
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 our $VERSION = '0.900007';
8  
9 1 ▶use base qw/DBIO::Test::BaseResult/;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 __PACKAGE__->table('sequence_test');
12  
13 1 __PACKAGE__->add_columns(
14 pkid1 => {
15 data_type => 'integer',
16 sequence => 'pkid1_seq',
17 is_auto_increment => 1,
18 auto_nextval => 1,
19 },
20 pkid2 => {
21 data_type => 'integer',
22 sequence => 'pkid2_seq',
23 is_auto_increment => 1,
24 auto_nextval => 1,
25 },
26 nonpkid => {
27 data_type => 'integer',
28 sequence => 'nonpkid_seq',
29 is_auto_increment => 1,
30 auto_nextval => 1,
31 },
32 name => {
33 data_type => 'varchar',
34 size => 100,
35 is_nullable => 1,
36 },
37 );
38  
39 1 __PACKAGE__->set_primary_key('pkid1', 'pkid2');
40  
41 1 1;
42  
43 __END__
« blib/lib/DBIO/PostgreSQL/Test/EventTZPg.pm ↑ Summary blib/lib/DBIO/PostgreSQL/Vector.pm »