Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: DBIx::Class prefetch problem

by Anonymous Monk
on Jan 15, 2015 at 03:57 UTC ( [id://1113298]=note: print w/replies, xml ) Need Help??


in reply to Re^2: DBIx::Class prefetch problem
in thread DBIx::Class prefetch problem

..And I'd appreciate any comnments. Thanks, John

Ok, the bar is low enough :) so here is any comments

You've posted a description of your tables, which looks very much like an actual schema, but it isn't an actual schema, so anyone actually trying to run that code to help, needs to recreate the schema ... manual labor you've already done that nobody needs to repeat

or already have tons of experience with DBIx and can just figure out the issue you're having just by looking (not me, i'd have to sqlt the schema to sqlite and go from there)

Chances are you can find some such person at the irc channel, link https://chat.mibbit.com/#dbix-class@irc.perl.org

Replies are listed 'Best First'.
Re^4: DBIx::Class prefetch problem
by l8gravely (Initiate) on Jan 18, 2015 at 22:57 UTC
    Thanks for the comments, but I thought I provided enough info to properly show the tables and schema I've been trying to define. I'm missing something here, because I just for the life of me cannot make it work where I have: name -> has_many -> account -> has_one boxfolder relationship work. I provided example SQL which does what I want, but I can't get DBIx::Class to do the same thing for some reason. Do I need to provide a complete standalong SQLite example code to show this?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-20 05:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found