0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00

use upsert

This commit is contained in:
Eliot Horowitz 2010-04-21 17:22:44 -04:00
parent c4cba90e0e
commit 0e251248a2

View File

@ -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 );
}