Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: dbi style questions (code, discussion)

by markjugg (Curate)
on Dec 29, 2001 at 21:23 UTC ( [id://135125]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use DBIx::Abstract;
    # get started using existing $DBH handle
    ...
    
    # update from a hash, auto-quoting for you
    $db->update'table_name',\%hash_ref,'item_id = 3');
    
  2. or download this
    $sth->prepare_cached("SELECT * from t where id = ?");
    $DBH->selectall_arrayref($sth, {}, @bind_values);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-03-28 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found