-
-
20 Dec 2020 10:50:31 UTC
- Distribution: DBIx-Class-AuditAny
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (1)
- Testers (41 / 0 / 0)
- Kwalitee
Bus factor: 1- 77.80% Coverage
- License: perl_5
- Perl: v5.10.0
- Activity
24 month- Tools
- Download (55.52KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Class::MOP
- Class::MOP::Class
- DBD::SQLite
- DBIx::Class
- Data::Dumper
- Data::Dumper::Concise
- DateTime
- Digest::MD5
- Exporter
- JSON
- Module::Runtime
- Moo
- Moo::Role
- MooX::Types::MooseLike::Base
- Path::Class
- SQL::Abstract
- SQL::Translator
- String::CamelCase
- Term::ANSIColor
- Text::TabularDisplay
- Text::Wrap
- Time::HiRes
- Try::Tiny
- Type::Tiny
- strict
- warnings
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
DBIx::Class::AuditAny::Util::SchemaMaker - On-the-fly creation of DBIC Schema classes
DESCRIPTION
This package provides an easy way to conjurer new DBIC schema classes into existence
ATTRIBUTES
schema_namespace
Required - the class name of the DBIC schema to be created
class_opts
Optional extra params to supply to
Class::MOP::Class->create
results
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. Theclass_name
does not need to be specified here as it is automatically set according to theschema_namespace
and the source name (key value).METHODS
initialize
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.SEE ALSO
SUPPORT
IRC:
Join #rapidapp on irc.perl.org.
AUTHOR
Henry Van Styn <vanstyn@cpan.org>
COPYRIGHT AND LICENSE
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.
Module Install Instructions
To install DBIx::Class::AuditAny, copy and paste the appropriate command in to your terminal.
cpanm DBIx::Class::AuditAny
perl -MCPAN -e shell install DBIx::Class::AuditAny
For more information on module installation, please visit the detailed CPAN module installation guide.