NAME
Catalyst::Helper::Model::DBIC::Schema - Helper for DBIC Schema Models
SYNOPSIS
script/create.pl model Foo DBIC::Schema Foo::SchemaClass [ connect_info arguments ]
Where:
Foo is the short name for the Model class being generated
Foo::SchemaClass is the fully qualified classname of your Schema,
which isa DBIx::Class::Schema defined elsewhere.
connect_info arguments are the same as what DBIx::Class::Schema::connect
expects, and are storage_type-specific. For DBI-based storage, these
arguments are the dsn, username, password, and connect options,
respectively.
TYPICAL EXAMPLES
script/myapp_create.pl model Foo DBIC::Schema FooSchema dbi:mysql:foodb myuname mypass '{ AutoCommit => 1 }'
# -or, if the schema already has connection info and you want to re-use that:
script/myapp_create.pl model Foo DBIC::Schema FooSchema
DESCRIPTION
Helper for the DBIC Schema Models.
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::SchemaLoader
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.