App-DBCritic

 view release on metacpan or  search on metacpan

lib/App/DBCritic/Loader.pm  view on Meta::CPAN

package App::DBCritic::Loader;

# ABSTRACT: Loader class for schemas generated from a database connection

#pod =head1 SYNOPSIS
#pod
#pod     use App::DBCritic::Loader;
#pod     my $schema = App::DBCritic::Loader->connect('dbi:sqlite:foo');
#pod
#pod =head1 DESCRIPTION
#pod
#pod This is a simple subclass of
#pod L<DBIx::Class::Schema::Loader|DBIx::Class::Schema::Loader> used by
#pod L<App::DBCritic|App::DBCritic> to dynamically
#pod generate a schema based on a database connection.
#pod
#pod =cut

use strict;
use utf8;
use Modern::Perl '2011';    ## no critic (Modules::ProhibitUseQuotedVersion)

our $VERSION = '0.023';     # VERSION
use Moo;
extends 'DBIx::Class::Schema::Loader';
__PACKAGE__->loader_options( naming => 'v4', generate_pod => 0 );
1;

__END__

=pod

=encoding UTF-8

=for :stopwords Mark Gardner cpan testmatrix url annocpan anno bugtracker rt cpants
kwalitee diff irc mailto metadata placeholders metacpan

=head1 NAME

App::DBCritic::Loader - Loader class for schemas generated from a database connection

=head1 VERSION

version 0.023

=head1 SYNOPSIS

    use App::DBCritic::Loader;
    my $schema = App::DBCritic::Loader->connect('dbi:sqlite:foo');

=head1 DESCRIPTION

This is a simple subclass of
L<DBIx::Class::Schema::Loader|DBIx::Class::Schema::Loader> used by
L<App::DBCritic|App::DBCritic> to dynamically
generate a schema based on a database connection.

=head1 SUPPORT

=head2 Perldoc

You can find documentation for this module with the perldoc command.

  perldoc App::DBCritic::Loader

=head2 Websites

The following websites have more information about this module, and may be of help to you. As always,
in addition to those websites please use your favorite search engine to discover more resources.

=over 4

=item *

Search CPAN

The default CPAN search engine, useful to view POD in HTML format.

L<http://search.cpan.org/dist/App-DBCritic>

=item *

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.896 second using v1.00-cache-2.02-grep-82fe00e-cpan-72ae3ad1e6da )