Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Trouble with Join/Prefetch in DBIx::Class

by duff (Parson)
on Jan 09, 2018 at 23:57 UTC ( [id://1207023]=note: print w/replies, xml ) Need Help??


in reply to Trouble with Join/Prefetch in DBIx::Class

Because of your has_many relationship, there are many tbl_requests and you haven't specified which of the many you'd like to see the status. Whereas, your second bit of code starts with individual TblRequests and gets the status of each.

(Sorry for the brevity, as I'm "out the door" so to speak. I'm sure someone else will elaborate if I can't get back to do so)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-19 09:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found