SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Catalyst-Model-DBIC-Schema rpm build for : openSUSE Tumbleweed. For other distributions click perl-Catalyst-Model-DBIC-Schema.

Name : perl-Catalyst-Model-DBIC-Schema
Version : 0.660.0 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 3.1 Date : 2024-03-08 23:01:08
Group : Unspecified Source RPM : perl-Catalyst-Model-DBIC-Schema-0.660.0-3.1.src.rpm
Size : 0.10 MB
Packager : (none)
Summary : DBIx::Class::Schema Model Class
Description :
This is a Catalyst Model for DBIx::Class::Schema-based Models. See the
documentation for Catalyst::Helper::Model::DBIC::Schema for information on
generating these Models via Helper scripts.

When your Catalyst app starts up, a thin Model layer is created as an
interface to your DBIC Schema. It should be clearly noted that the model
object returned by \'$c->model(\'FilmDB\')\' is NOT itself a DBIC schema or
resultset object, but merely a wrapper proving methods to access the
underlying schema.

In addition to this model class, a shortcut class is generated for each
source in the schema, allowing easy and direct access to a resultset of the
corresponding type. These generated classes are even thinner than the model
class, providing no public methods but simply hooking into Catalyst\'s
model() accessor via the ACCEPT_CONTEXT mechanism. The complete contents of
each generated class is roughly equivalent to the following:

package MyApp::Model::FilmDB::Actor
sub ACCEPT_CONTEXT {
my ($self, $c) = AATT_;
$c->model(\'FilmDB\')->resultset(\'Actor\');
}

In short, there are three techniques available for obtaining a DBIC
resultset object:


my $rs = $c->model(\'FilmDB\')->schema->resultset(\'Actor\');


my $rs = $c->model(\'FilmDB\')->resultset(\'Actor\');


my $rs = $c->model(\'FilmDB::Actor\');

In order to add methods to a DBIC resultset, you cannot simply add them to
the source (row, table) definition class; you must define a separate custom
resultset class. This is just a matter of making a
\'lib/MyApp/Schema/ResultSet/Actor.pm\' class that inherits from
DBIx::Class::ResultSet, if you are using
DBIx::Class::Schema/load_namespaces, the default for helper script
generated schemas.

See DBIx::Class::Manual::Cookbook/\"Predefined searches\" for information on
definining your own DBIx::Class::ResultSet classes for use with
DBIx::Class::Schema/load_classes, the old default.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/openSUSE_Tumbleweed/noarch

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  perl-Catalyst-Model-DBIC-Schema-0.660.0-3.1.noarch.rpm
     

Provides :
perl(Catalyst::Helper::Model::DBIC::Schema)
perl(Catalyst::Model::DBIC::Schema)
perl(Catalyst::TraitFor::Model::DBIC::Schema::Caching)
perl(Catalyst::TraitFor::Model::DBIC::Schema::PerRequestSchema)
perl(Catalyst::TraitFor::Model::DBIC::Schema::Replicated)
perl(Catalyst::TraitFor::Model::DBIC::Schema::SchemaProxy)
perl-Catalyst-Model-DBIC-Schema

Requires :
perl(:MODULE_COMPAT_5.40.0)
perl(Carp::Clan)
perl(Catalyst::Component::InstancePerContext)
perl(Catalyst::Devel) >= 1.0.0
perl(Catalyst::Runtime) >= 5.800.50
perl(CatalystX::Component::Traits) >= 0.140
perl(DBIx::Class) >= 0.08114
perl(DBIx::Class::Cursor::Cached)
perl(DBIx::Class::Schema::Loader) >= 0.04005
perl(Hash::Merge)
perl(List::MoreUtils)
perl(Module::Runtime) >= 0.012
perl(Moose) >= 1.12
perl(MooseX::MarkAsMethods) >= 0.13
perl(MooseX::NonMoose) >= 0.16
perl(MooseX::Types)
perl(MooseX::Types::LoadableClass) >= 0.009
perl(Tie::IxHash)
perl(Try::Tiny)
perl(namespace::autoclean) >= 0.09
perl(namespace::clean)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/Helper
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/Helper/Model
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/Helper/Model/DBIC
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/Helper/Model/DBIC/Schema.pm
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/Model
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/Model/DBIC
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/Model/DBIC/Schema
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/Model/DBIC/Schema.pm
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/Model/DBIC/Schema/Types.pm
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/TraitFor
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/TraitFor/Model
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/TraitFor/Model/DBIC
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/TraitFor/Model/DBIC/Schema
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/TraitFor/Model/DBIC/Schema/Caching.pm
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/TraitFor/Model/DBIC/Schema/PerRequestSchema.pm
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/TraitFor/Model/DBIC/Schema/Replicated.pm
/usr/lib/perl5/vendor_perl/5.40.0/Catalyst/TraitFor/Model/DBIC/Schema/SchemaProxy.pm
/usr/share/doc/packages/perl-Catalyst-Model-DBIC-Schema
/usr/share/doc/packages/perl-Catalyst-Model-DBIC-Schema/Changes
/usr/share/doc/packages/perl-Catalyst-Model-DBIC-Schema/README
/usr/share/man/man3/Catalyst::Helper::Model::DBIC::Schema.3pm.gz
/usr/share/man/man3/Catalyst::Model::DBIC::Schema.3pm.gz
/usr/share/man/man3/Catalyst::TraitFor::Model::DBIC::Schema::Caching.3pm.gz
/usr/share/man/man3/Catalyst::TraitFor::Model::DBIC::Schema::PerRequestSchema.3pm.gz
/usr/share/man/man3/Catalyst::TraitFor::Model::DBIC::Schema::Replicated.3pm.gz
/usr/share/man/man3/Catalyst::TraitFor::Model::DBIC::Schema::SchemaProxy.3pm.gz

 
ICM