Fey::Meta::Class::Schema - A metaclass for schema classes
version 0.44
package MyApp::Schema; use Fey::ORM::Schema; print __PACKAGE__->meta()->ClassForSchema($schema);
This is the metaclass for schema classes. When you use Fey::ORM::Schema in your class, it uses this class to do all the heavy lifting.
This class provides the following methods:
Given a Fey::Schema object, this method returns the name of the class which "has" that schema, if any.
Given a class, this method returns the Fey::Schema object associated with that class, if any.
Returns the Fey::Schema for the metaclass's class.
Dave Rolsky <autarch@urth.org>
This software is copyright (c) 2011 by Dave Rolsky.
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 Fey::ORM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Fey::ORM
CPAN shell
perl -MCPAN -e shell install Fey::ORM
For more information on module installation, please visit the detailed CPAN module installation guide.