On Mon, 2014-01-06 at 22:22 +0100, Gerhard Jungwirth wrote: > I had the same problem like you had, and as far as I know, this is not > supported in custom relationships. You have a few options though.
Thanks for the reply - I thought that might be the case. > 1) Arbitrary SQL with a ResultSource::View Thanks - I was wondering whether that might be the best solution. > 2) The unsupported, deprecated and probably DANGEROUS "from"-attribute Interesting - I hadn't seen that before. Potentially looks like a good solution. > see > https://metacpan.org/pod/release/RIBASUSHI/DBIx-Class-0.08111/lib/DBIx/Class/ResultSet.pm#from Well, from the above: "and if you're not 100% sure, ask the mailing list first)", so I'd be interested to hear anybody else's opinion. Andy _______________________________________________ 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