mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
use upsert
This commit is contained in:
parent
c4cba90e0e
commit
0e251248a2
@ -105,7 +105,7 @@ namespace mongo {
|
||||
|
||||
log(4) << "updated model" << getNS() << " " << q << " " << o << endl;
|
||||
|
||||
conn->update( getNS() , q , o );
|
||||
conn->update( getNS() , q , o , true );
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user