[Dbix-class] Need help with DBIC join table queries from Catalyst app

Dennis Daupert ddaupert at gmail.com
Tue Apr 21 10:27:57 GMT 2009


On Sat, Apr 18, 2009 at 6:43 AM, Jess Robinson <castaway at desert-island.me.uk
> wrote:

>
> You didn't actually say what your errors/problems were.. but here's a
> possible hint:
>
>>
>> __PACKAGE__->has_many(map_project_directory =3D>
>> 'hde::Schema::Result::ProjectDirectories', 'directory_id');
>>
>
> ^^^^ "directory_id" probably wants to be "project_id"?


yes, that turned out to be the needle in the haystack. I'd been away from
Catalyst and DBIx::Class for almost a year, and I also have just plunged
into HTML::FormFu for a project at work. I appreciate your help very much.

/dennis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20090421/16d=
4f328/attachment.htm


More information about the DBIx-Class mailing list