Fey::Meta::Role::Relationship - A shared role for all foreign HasX metaclasses
This role provides shared functionality for has-one and has-many metaclasses. See the relevant classes for documentation.
This role adds the following constructor options:
The name of the relationship. This will be used as the name for any attribute or method created by this metaclass.
This defaults to
The (source) table of the foreign key.
The foreign table for the foreign key
Determines whether the relationship's value is cached. This is implemented in different ways for has-one vs has-many relationships.
Dave Rolsky <firstname.lastname@example.org>
This software is copyright (c) 2011 by Dave Rolsky.