[Dbix-class] can't locate object method "union" when using DBIx::Class::Helper::ResultSet::SetOperations

fREW Schmidt frioux at gmail.com
Wed Jul 27 18:56:25 GMT 2011


> Loaded component in the result class files:
>
> package MyApp::Schema::Result::GeneSetAnnotation;
> use base 'DBIx::Class::Core';
> __PACKAGE__->load_components(qw/Helper::ResultSet::SetOperations/);
>

This is your problem.  This is a Result*Set* component, and needs to be
loaded into a resultset, not the result.

-- =

fREW Schmidt
http://blog.afoolishmanifesto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20110727/717=
38d4c/attachment.htm


More information about the DBIx-Class mailing list