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

Re: 'automating' SQL queries, use Class::DBI?

by edoc (Chaplain)
on Jan 27, 2004 at 08:14 UTC ( [id://324375]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package My::Table;
    use base 'My::Class::DBI';
    ...
        $sth->execute($quid);
        return @{$sth->fetchall_arrayref({})};
    }
    
  2. or download this
    # fetch a My::Table object
    my $record = My::Table->create({ foo => 1,
    ...
    
    # fetch a list of records via our join method
    my @list = My::Table->public_method_name('new quid val');
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-26 04:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found