Perl Monk, Perl Meditation | |
PerlMonks |
Re: Trouble with Join/Prefetch in DBIx::Classby duff (Parson) |
on Jan 09, 2018 at 23:57 UTC ( [id://1207023]=note: print w/replies, xml ) | Need Help?? |
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)
In Section
Seekers of Perl Wisdom
|
|