BOn Mon, Jul 04, 2011 at 08:22:06PM -0300, Eden Cardim wrote:
> >>>>> "Dmitry" == Dmitry Belyavsky <beld...@gmail.com> writes:
> 
>     Dmitry> Greetings!
>     Dmitry> I want to add a custom has_many relation with comlex join. I use 
> the
>     Dmitry> PostgreSQL, so the condition should look like me.email =>
>     Dmitry> ANY(foreign.emails), but now DBIx::Class does not support such 
> join.
>     Dmitry> Is it possible to implement such join conds?
> 
> You might want to look at the 0.08190_01 trial release which adds the
> ability to create relationships based on arbitrary joins. Specifically:
> 
> http://beta.metacpan.org/module/FREW/DBIx-Class-0.08190_01/lib/DBIx/Class/Relationship/Base.pm
> 
> Although I'm not sure what the current state of that feature is.

Erm... given we since had 0.08191 and 0.08192, and they both contain this in
the CHANGES file, I'd say the feature is fine and shipped :))

Cheers!

_______________________________________________
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

Reply via email to