NAME

Async::ORM::Relationship - Relationships for Async::ORM

SYNOPSIS

my $rel = Async::ORM::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 Async::ORM::Relationship::OneToOne, Async::ORM::Relationship::OneToMany, Async::ORM::Relationship::ManyToOne, Async::ORM::Relationship::ManyToMany.

AUTHOR

Viacheslav Tikhanovskii, vti@cpan.org.

COPYRIGHT

Copyright (C) 2009, Viacheslav Tikhanovskii.

This program is free software, you can redistribute it and/or modify it under the same terms as Perl 5.10.