Persistence::Relationship - Object relationship,
use Persistence::Relationship ':all';
Represents a base class for object relationship.
one_to_many method by ':all' tag.
Relationship 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.
Sets persistence context
Returns persistent context for passed in class
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.