[Dbix-class] DBIx::Class::Relationship->has_one documentation

Jess Robinson castaway at desert-island.me.uk
Tue Apr 14 12:38:01 GMT 2009


On Thu, 9 Apr 2009, Ben Vinnerd wrote:

> Hey,
>
> I've noticed in the docs for has_one, that the 3rd arg is $join_condition 
> (optional). Is this a mistake? Shouldn't has_one accept the same args as 
> might_have?
>

In current trunk both of them have the same list:

Arguments: $accessor_name, $related_class, 
$their_fk_column|\%cond|\@cond?, \%attrs?

Landing at a CPAN near you as soon as we poke Matt into releasing the 
thing already.

Jess




More information about the DBIx-Class mailing list