Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: DBIx join problem

by jsmith2012 (Initiate)
on Jul 30, 2009 at 22:22 UTC ( [id://784759]=note: print w/replies, xml ) Need Help??


in reply to Re: DBIx join problem
in thread DBIx join problem

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'} } );

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://784759]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2025-03-23 23:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (63 votes). Check out past polls.