Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^5: MongoDB replacing an array

by Mr. Muskrat (Abbot)
on Aug 26, 2012 at 18:39 UTC ( #989864=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $col->update(
              { "host" => $host },
              {
    ...
              },
              { 'multiple' => 1, 'safe' => 1 }
    ) || die "$!";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-11-01 00:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (226 votes), past polls