Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by Mr. Muskrat (Canon)
on Jan 10, 2018 at 16:56 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-19 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found