
Fey::Meta::HasOne::ViaSelect - A parent for has-one metaclasses based on a Fey::SQL::Select object

This class implements a has-one relationship for a class, based on a provided (or deduced) Fey::SQL::Select object.

This class accepts the following constructor options:
The Fey::SQL::Select object which defines the relationship between the tables.
An optional subroutine reference which will be called when the SQL is executed. It is called as a method on the object of this object's associated class.
This defaults to true.

Besides the methods inherited from Fey::Meta::HasOne, it also provides the following methods:
Corresponds to the value passed to the constructor.
Corresponds to the value passed to the constructor.

Dave Rolsky, <autarch@urth.org>

See Fey::ORM for details.

Copyright 2006-2009 Dave Rolsky, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module.