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

DBIx::Class, make me drool

by metaperl (Curate)
on Aug 25, 2011 at 15:09 UTC ( [id://922381]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub getnew {
        my ($self) = @_;
    
        $self->dbs->query($self->getnewsql)->hashes;
    }
    
  2. or download this
    package Local::GetDataTable;
    
    ...
    };
    
    1;
    
  3. or download this
    override '_build_getnewsql' => sub {
        my ($self) = @_;
        my $sql = super();
        $sql .= sprintf "AND location = %d", $self->location;
    };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://922381]
Approved by planetscape
Front-paged by chrestomanci
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-19 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found