Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by Mr. Muskrat (Canon)
on Jan 10, 2018 at 16:56 UTC ( #1207079=note: print w/replies, xml ) Need Help??


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

duff++

To expand upon his answer, you need a one-to-one relationship or at least search conditions that result in only one TblRequest per TblPerson if you want it work the way you have it written. You could also loop through each of the tbl_requests to get the status.

  • Comment on Re: Trouble with Join/Prefetch in DBIx::Class

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2022-05-21 05:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (76 votes). Check out past polls.

    Notices?