in reply to DBIx join problem

A couple thoughts:

FWIW, I have no trouble joining tables and creating charts based off a select statement using DBIx.

Replies are listed 'Best First'.
Re^2: DBIx join problem
by jsmith2012 (Initiate) on Jul 30, 2009 at 22:22 UTC
    below is the dbix query that i came up w/ from the documentation. The error i got was "No relationship DBIx::Class::ResultSet::count(): No such relationship image_folder". i have tested the sql and it works.
    my $rs = $schema->resultset('ImageDescription')->search( { 'image_folder.name' => 'japan' }, { join => { 'image_folder' => 'image_folder'} } );