[Dbix-class] Multi-table join problems

Wallace Reis reis.wallace at gmail.com
Fri Jul 10 20:17:36 GMT 2009


On Fri, Jul 10, 2009 at 1:06 PM, Dan Horne<dan.horne at redbone.co.nz> wrote:
> That's what I did do in the end, but was trying to avoid this a) because I
> don't want to change what DBix::Class::Schema::Loader generates because then
> I'd need to change things every time I re-generate the schema, and b) I was
> trying to operate under the  philosophy that I don't want to know about
> DBIC's implementation details under the covers, but in the end, I needed
> tobe cognizant of it. I don't know why DBIC::S::L names the relationships
> the same as the columns - it actually threw me for a loop when I first
> started using DBIC because none of the doc tutorials or examples did this,
> and I found it very confusing.

You can use DBIC::Schema::Loader => 0.04999_06. The '_id' part was
stripped in that version, but be aware that it's a DEV RELEASE.

-- 
     wallace reis/wreis         Catalyst and DBIx::Class consultancy with a clue
     Software Developer		and a commit bit: http://shadowcat.co.uk/catalyst/
 Shadowcat Systems Limited
 http://www.shadowcat.co.uk     http://www.linkedin.com/in/wallacereis



More information about the DBIx-Class mailing list