File Coverage

blib/lib/DBIx/NoSQLite.pm
Criterion Covered Total %
statement 14 16 87.5
branch n/a
condition n/a
subroutine 5 6 83.3
pod 0 2 0.0
total 19 24 79.1


line stmt bran cond sub pod time code
1             package DBIx::NoSQLite;
2             our $AUTHORITY = 'cpan:YANICK';
3             # ABSTRACT: An embedded, NoSQL SQLite database with SQL indexing
4             $DBIx::NoSQLite::VERSION = '0.0021';
5 1     1   1003 use strict;
  1         2  
  1         29  
6 1     1   4 use warnings;
  1         2  
  1         27  
7              
8 1     1   3 use DBIx::NoSQL::Store;
  1         1  
  1         14  
9 1     1   637 use DBD::SQLite;
  1         20218  
  1         91  
10              
11             sub new {
12 0     0 0 0 my $class = shift;
13 0         0 return DBIx::NoSQL::Store->new( @_ );
14             }
15              
16             sub connect {
17 1     1 0 1223 my $class = shift;
18 1         7 return DBIx::NoSQL::Store->connect( @_ );
19             }
20              
21              
22             1;
23              
24             __END__
25              
26             =pod
27              
28             =encoding UTF-8
29              
30             =head1 NAME
31              
32             DBIx::NoSQLite - An embedded, NoSQL SQLite database with SQL indexing
33              
34             =head1 VERSION
35              
36             version 0.0021
37              
38             =head1 SYNOPSIS
39              
40             use DBIx::NoSQLite;
41              
42             my $store = DBIx::NoSQLite->connect( 'store.sqlite' );
43              
44             $store->set( ... );
45              
46             $store->get( ... );
47              
48             $store->exists( ... );
49              
50             $store->delete( ... );
51              
52             $store->search( ... );
53              
54             ...
55              
56             Refer to L<DBIx::NoSQL>
57              
58             =head1 DESCRIPTION
59              
60             DBIx::NoSQLite a key/value store using SQLite as the backend
61              
62             Refer to L<DBIx::NoSQL> for documentation and usage
63              
64             =head1 AUTHORS
65              
66             =over 4
67              
68             =item *
69              
70             Robert Krimen <robertkrimen@gmail.com>
71              
72             =item *
73              
74             Yanick Champoux <yanick@cpan.org>
75              
76             =back
77              
78             =head1 COPYRIGHT AND LICENSE
79              
80             This software is copyright (c) 2017 by Robert Krimen.
81              
82             This is free software; you can redistribute it and/or modify it under
83             the same terms as the Perl 5 programming language system itself.
84              
85             =cut