[Dbix-class] Unable to chain resultset method on a many_to_many relationship method

Michael Blanco blanco217 at gmail.com
Tue Oct 27 13:55:18 GMT 2009


I have used it as follows

my $current_source_alias =3D $self->current_source_alias;

    my $conditions =3D {
        "$current_source_alias.status_id" =3D> { '-in' =3D> [ 3, 11, 12, 15=
, 17,
18, 23 ] },
...

----------------------------
Michael Blanco




On Tue, Oct 27, 2009 at 6:30 AM, Anthony Gladdish <
a.j.gladdish at newcastle.ac.uk> wrote:

> Hi,
>
> >From: Michael Blanco [mailto:blanco217 at gmail.com]
> >Sent: 26 October 2009 21:36
> >To: DBIx::Class user and developer list
> >Subject: Re: [Dbix-class] Unable to chain resultset method on a
> many_to_many relationship method
> >
> >Try using the following
> >
> >current_source_alias
> >
> >
> http://search.cpan.org/~ribasushi/DBIx-Class-0.08112/lib/DBIx/Class/Resul=
tSet.pm<http://search.cpan.org/%7Eribasushi/DBIx-Class-0.08112/lib/DBIx/Cla=
ss/ResultSet.pm>
> >
> >----------------------------
> >Michael Blanco
>
> Thanks Michael, this worked.
>
> I've attached a document patch. What's the correct procedure to apply thi=
s?
>
> Anthony
>
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive:
> http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20091027/de0=
1c4c7/attachment.htm


More information about the DBIx-Class mailing list