The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

ObjectDB::Relationship - Relationships for ObjectDB

SYNOPSIS

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

DESCRIPTION

    This is a relationship factory that is used internally.

METHODS

build

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

AUTHOR

Viacheslav Tykhanovskyi, vti@cpan.org.

COPYRIGHT

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.