NAME
Catalyst::Helper::Model::DBIC::SchemaLoader - Helper for AutoLoaded DBIC Schema Models
SYNOPSIS
script/myapp_create.pl model Foo DBIC::SchemaLoader dsn user password
Where:
Foo is the short name
for
the Model class being generated
dsn, user, and password are the connection info
DESCRIPTION
This helper generates two classes:
First, it generates a DBIx::Class::Schema::Loader class at lib/MyApp/SchemaLoader/Foo.pm based on your supplied dsn/user/pass.
Then, it generates a Catalyst::Model::DBIC::Schema at lib/MyApp/M/Foo.pm, which references the above-generated loader.
Models generated by this Helper require the seperate package DBIx::Class::Schema::Loader to be installed. It is on the recommended list for this package, but is not required for installation.
METHODS
mk_compclass
SEE ALSO
General Catalyst Stuff:
Catalyst::Manual, Catalyst::Test, Catalyst::Request, Catalyst::Response, Catalyst::Helper, Catalyst,
Stuff related to DBIC and this Model style:
DBIx::Class, DBIx::Class::Schema, DBIx::Class::Schema::Loader, Catalyst::Model::DBIC::Schema, Catalyst::Helper::Model::DBIC::Schema
AUTHOR
Brandon L Black, blblack@gmail.com
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
NAME
[% loader_class %] - Loader-generated DBIx::Class::Schema class
SYNOPSIS
See "[% app %]"
DESCRIPTION
Generated by Catalyst::Model::DBIC::Schema for use in "[% class %]"
AUTHOR
[% author %]
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
NAME
[% class %] - Catalyst DBIC Schema Model
SYNOPSIS
See "[% app %]"
DESCRIPTION
Catalyst::Model::DBIC::Schema Model using DBIx::Class::Schema::Loader generated Schema: "[% loader_class %]"
AUTHOR
[% author %]
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.