Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

(Yet Another) DBIx::Class Joins question

by sundialsvc4 (Abbot)
on Jan 28, 2009 at 20:04 UTC ( [id://739689]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      TSeminar --+
                 +--TMarket    
                 +--TProgram--TFees
    
  2. or download this
    __PACKAGE__->belongs_to(
      "marketcode",
    ...
      "FOO::Schema::Scheme::TProgram",
      { programcode => "programcode" },
    );
    
  3. or download this
    __PACKAGE__->belongs_to(
      "progfee",
      "FOO::Schema::Scheme::TFees",
      { feeid => "progfee" },
    );
    
  4. or download this
        my $rs= $c->schema->resultset("TSeminar")->search(
            { 'semcode' => $code },
    ...
            "prefetch" => [qw/programcode marketcode/], 
            "order_by"    => [qw/semcode/], 
            "rows"        => 30});
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-16 18:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found