DBIx::Class::AuditAny::Util::SchemaMaker - On-the-fly creation of DBIC Schema classes
This package provides an easy way to conjurer new DBIC schema classes into existence
Required - the class name of the DBIC schema to be created
Optional extra params to supply to Class::MOP::Class->create
Class::MOP::Class->create
HashRef of key/value pairs defining the result/sources to be created. The key is the source name, while the value must be a HashRef to be supplied to the initialize constructor of DBIx::Class::AuditAny::Util::ResultMaker. The class_name does not need to be specified here as it is automatically set according to the schema_namespace and the source name (key value).
initialize
class_name
schema_namespace
Initialization constructor. Expects the above attrs as a HashRef as they would be passed to new(). Creates the specified schema and associated result classes on-the-spot.
new()
DBIx::Class::AuditAny
DBIx::Class
IRC:
Join #rapidapp on irc.perl.org.
Henry Van Styn <vanstyn@cpan.org>
This software is copyright (c) 2012-2015 by IntelliTree Solutions llc.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install DBIx::Class::AuditAny, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class::AuditAny
CPAN shell
perl -MCPAN -e shell install DBIx::Class::AuditAny
For more information on module installation, please visit the detailed CPAN module installation guide.