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

Re^4: Trouble Getting Field Through A DBIx::Class::ResultSet Relation

by varanasi (Scribe)
on Mar 28, 2014 at 01:36 UTC ( [id://1080031]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Trouble Getting Field Through A DBIx::Class::ResultSet Relation
in thread Trouble Getting Field Through A DBIx::Class::ResultSet Relation

Wow. I have seen references and examples of chaining resultsets in the docs, but none that seemed useful, so I have ignored them until now. Your example shows how to use them in a way that's relevant to what I am typically doing and how to code them.

I incorporated these searches into two of my Schema::Resultsets and greatly shortened and simplified my code. They provide a very short way to "move" back and forth between related records. Much better than what I have been using.

Pretty darn cool. Thanks again.

  • Comment on Re^4: Trouble Getting Field Through A DBIx::Class::ResultSet Relation

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-18 15:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found