blib/lib/MYDan/Node/DBI/Root.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
define
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package MYDan::Node::DBI::Root;
2  
3 =head1 NAME
4  
5 MYDan::Node::DBI::Root - DB interface to MYDan::Node root data
6  
7 =head1 SYNOPSIS
8  
9 use MYDan::Node::DBI::Root;
10  
11 my $db = MYDan::Node::DBI::Root->new( '/database/file' );
12  
13 =cut
14 use strict;
15 use warnings;
16  
17 =head1 METHODS
18  
19 See MYDan::Util::SQLiteDB.
20  
21 =cut
22 use base qw( MYDan::Util::SQLiteDB );
23  
24 =head1 DATABASE
25  
26 A SQLITE db has tables of I<two> columns:
27  
28 key : node name
29 value : info associated with node
30  
31 =cut
32 sub define
33 {
34 key => 'TEXT NOT NULL PRIMARY KEY',
35 value => 'BLOB',
36 };
37  
38 1;