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

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

by duff (Parson)
on Jan 09, 2018 at 23:57 UTC ( #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? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2021-09-28 14:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?