NAME
Async::ORM::Relationship::Base - A base class for Async::ORM relationships
SYNOPSIS
package My::Relationship;
use Any::Moose;
extends 'Async::ORM::Relationship::Base';
...
DESCRIPTION
This is a base class for all Async::ORM relationships.
ATTRIBUTES
new
Returns new Async::ORM::Relationship::Base instance.
name
Holds relationship name.
type
Holds relationship type.
with
Holds relationships that are fetched automatically.
where
Array reference that is passed to every where clause.
join_args
Despite of automatic joins you can specify additional join args.
METHODS
orig_class
Returns original class automatically loading it.
class
Returns related class automatically loading it.
related_table
Returns related table name.
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.