# sanity check - currently throw when a complex coderef rel is encountered
# FIXME - should THROW MOAR!
- if (ref $self) { # cdbi calls this as a class method, /me vomits
-
my $rsrc = $self->result_source;
my $rel_info = $rsrc->relationship_info($rel)
or $self->throw_exception( "No such relationship '$rel'" );
map { "'$_'" } @unspecified_rel_condition_chunks
));
}
- }
return $self->search_related($rel)->new_result($values);
}