File Coverage

blib/lib/Pixie/Store/DBI.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 0 2 0.0
total 18 20 90.0


line stmt bran cond sub pod time code
1             =head1 NAME
2              
3             Pixie::Store::DBI -- abstract class for DBI-based Pixie stores.
4              
5             =head1 SYNOPSIS
6              
7             use Pixie;
8              
9             my $dsn; # see subclasses for valid dsn specs
10             my %args = ( user => 'foo', pass => 'bar' );
11              
12             Pixie->deploy( $dsn, %args ); # only do this once
13              
14             my $px = Pixie->new->connect( $dsn );
15              
16             =head1 DESCRIPTION
17              
18             Abstract class for DBI-based Pixie stores. See subclasses for implemented
19             DBI stores.
20              
21             =cut
22              
23             package Pixie::Store::DBI;
24              
25 5     5   216783 use DBI;
  5         160219  
  5         417  
26 5     5   11735 use DBIx::AnyDBD;
  5         9272  
  5         174  
27 5     5   3913 use Pixie::Store::DBI::Default;
  5         18  
  5         598  
28              
29             our $VERSION = "2.08_02";
30              
31 1     1 0 920 sub connect { &Pixie::Store::DBI::Default::connect( @_ ) }
32 1     1 0 35 sub deploy { &Pixie::Store::DBI::Default::deploy( @_ ) }
33 1     1   449 sub _raw_connect { &Pixie::Store::DBI::Default::_raw_connect( @_ ) }
34              
35             1;
36              
37             __END__