Persistence::Relationship - Object relationship mapping
Persistence::Fetchable | +----Persistence::Relationship
use Persistence::Relationship ':all';
Represents a base class for object relationship.
LAZY EAGER NONE ALL ON_INSERT ON_UPDATE ON_DELETE method by ':all' tag.
Relationship name
Attribute name
LAZY, EAGER
NONE, ALL ON_UPDATE, ON_DELETE, ON_INSERT
Adds relationship to meta data cache, Takes package name of persisitence mapping, name of relationsship, reelationship constructor parameters.
Returns all to many relation where insert applies.
Returns all to one relation where insert applies.
Returns all relation where insert applies.
Returns relations values as array ref, takes object as parameter
Returns relations value
Persistence::Entity Persistence::Relationship::OneToMany Persistence::Relationship::ManyToMany
The Persistence::Relationship module is free software. You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.
Adrian Witas, adrian@webapp.strefa.pl
To install Persistence::Entity, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Persistence::Entity
CPAN shell
perl -MCPAN -e shell install Persistence::Entity
For more information on module installation, please visit the detailed CPAN module installation guide.