line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::DBIx::Class::Example::Schema; |
2
|
15
|
|
|
15
|
|
9099
|
use base 'DBIx::Class::Schema'; |
|
15
|
|
|
|
|
21
|
|
|
15
|
|
|
|
|
8043
|
|
3
|
|
|
|
|
|
|
__PACKAGE__->load_namespaces(default_resultset_class => 'DefaultRS'); |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|