Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: DBIx and ManyToMany Relationships

by tospo (Hermit)
on May 30, 2012 at 11:14 UTC ( #973260=note: print w/replies, xml ) Need Help??


in reply to Re^2: DBIx and ManyToMany Relationships
in thread DBIx and ManyToMany Relationships

I'm not sure I udnerstand what you mean with "that get's me ..." - can you post the actual code you are running now?
  • Comment on Re^3: DBIx and ManyToMany Relationships

Replies are listed 'Best First'.
Re^4: DBIx and ManyToMany Relationships
by kiz (Monk) on May 30, 2012 at 14:10 UTC
    (Noting the comment below)

    The search model is currently:

    $c->stash( repos => [ $c->model('ORIdatabase::Repo') ->search( {}, #$what, { join => {'contentlinks' => 'content'} , prefetch => {'contentlinks' => 'content'} , rows => $params->{'limit'} } ) ] );

    And buried at the end of the hash/object returned are the data fields the query returns...



    -- Ian Stuart
    A man depriving some poor village, somewhere, of a first-class idiot.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://973260]
help
Chatterbox?
and the leaves swirl about...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2017-06-28 04:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (622 votes). Check out past polls.