
ObjectDB::Relationship - Relationships for ObjectDB

my $rel = ObjectDB::Relationship->build(name => 'foo', type => 'many to one');

This is a relationship factory that is used internally.

buildReturns a new relationship instance. Could be one of ObjectDB::Relationship::OneToOne, ObjectDB::Relationship::OneToMany, ObjectDB::Relationship::ManyToOne, ObjectDB::Relationship::ManyToMany.

Viacheslav Tykhanovskyi, vti@cpan.org.

Copyright (C) 2009, Viacheslav Tykhanovskyi.
This program is free software, you can redistribute it and/or modify it under the same terms as Perl 5.10.