Fey::Meta::Attribute::FromColumn - An attribute metaclass for column-based attributes
version 0.47
package MyApp::Song; has_table( $schema->table('Song') ); for my $attr ( grep { $_->can('column') } $self->meta()->get_all_attributes ) { ... }
This attribute metaclass is used when Fey::ORM::Table creates attributes for the class's associated table.
This class adds a single method to those provided by Moose::Meta::Attribute:
Moose::Meta::Attribute
Returns the Fey::Column object associated with this attribute.
Dave Rolsky <autarch@urth.org>
This software is copyright (c) 2011 - 2015 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.