File: Schema.pm

package info (click to toggle)
libtest-dbix-class-perl 0.52-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 3,088 kB
  • sloc: perl: 2,193; makefile: 2
file content (41 lines) | stat: -rw-r--r-- 1,041 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package Test::DBIx::Class::Example::Schema;
use base 'DBIx::Class::Schema';
__PACKAGE__->load_namespaces(default_resultset_class => 'DefaultRS');

1;

=head1 NAME

Test::DBIx::Class::Example::Schema - A basic schema you can use for testing

=head2 SYNOPSIS

	my $schema = Test::DBIx::Class::Example::Schema->connect($dsn);

=head1 DESCRIPTION

This Schema has two purposes.  First, we need one in order to properly test
this distribution.  Secondly, we'd like to offer a useful and simple schema
that component authors can use to test their code.  This way you don't have
to keep rolling your own example database and we can concentrate effort on
making one that is solid.

=head1 SEE ALSO

The following modules or resources may be of interest.

L<DBIx::Class::Schema>

=head1 AUTHOR

John Napiorkowski C<< <jjnapiork@cpan.org> >>

=head1 COPYRIGHT & LICENSE

Copyright 2009, John Napiorkowski  C<< <jjnapiork@cpan.org> >>

This program is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

=cut