Class/Example/Schema.pm

filter: Statementstmt 100% 5 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 6 / 6 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Class/Example/Schema/ResultSet.pm ↑ Summary Class/Example/Schema/DefaultRS.pm »
1 package Test::DBIx::Class::Example::Schema;
2 15 ▶use base 'DBIx::Class::Schema';
Subroutine BEGIN: called CC=1 SCAR=0.0
3 15 __PACKAGE__->load_namespaces(default_resultset_class => 'DefaultRS');
4  
5 15 1;
6  
7 =head1 NAME
8  
9 Test::DBIx::Class::Example::Schema - A basic schema you can use for testing
10  
11 =head2 SYNOPSIS
12  
13 my $schema = Test::DBIx::Class::Example::Schema->connect($dsn);
14  
15 =head1 DESCRIPTION
16  
17 This Schema has two purposes. First, we need one in order to properly test
18 this distribution. Secondly, we'd like to offer a useful and simple schema
19 that component authors can use to test their code. This way you don't have
20 to keep rolling your own example database and we can concentrate effort on
21 making one that is solid.
22  
23 =head1 SEE ALSO
24  
25 The following modules or resources may be of interest.
26  
27 L<DBIx::Class::Schema>
28  
29 =head1 AUTHOR
30  
31 John Napiorkowski C<< <jjnapiork@cpan.org> >>
32  
33 =head1 COPYRIGHT & LICENSE
34  
35 Copyright 2009, John Napiorkowski C<< <jjnapiork@cpan.org> >>
36  
37 This program is free software; you can redistribute it and/or modify
38 it under the same terms as Perl itself.
39  
40 =cut
41  
« Class/Example/Schema/ResultSet.pm ↑ Summary Class/Example/Schema/DefaultRS.pm »