DBIx::Class::AuditAny::Util::ResultMaker - On-the-fly creation of DBIC Result classes
This package provides an easy way to conjurer new DBIC result classes into existence. It is typically used by DBIx::Class::AuditAny::Util::SchemaMaker and not called directly.
Required. Full class name of the result class to be created
Optional extra params to supply to Class::MOP::Class->create
Class::MOP::Class->create
Required. The name of the table as would be supplied to ->table() in the result class.
->table()
Required. ArrayRef of DBIC column definitions suitable as arguments for ->add_columns()
->add_columns()
Optional ArrayRef consumed in pairs, with the first value used as a method name, and the second value an ArrayRef holding the args to supply to the method. Each of these are called as class methods on the result class. This allows for any other calls to be handled, such as adding uniq keys, and so on.
Initialization constructor. Expects the above attrs as a HashRef as they would be passed to new(). Creates the specified result class and invokes all the setup methods as defined above.
new()
DBIx::Class::AuditAny::Util::SchemaMaker
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.