0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

better "n" for getlasterror

This commit is contained in:
Eliot Horowitz 2010-04-27 15:58:45 -04:00
parent a32f6a2fb9
commit a6045bbb86

View File

@ -44,7 +44,7 @@ namespace mongo {
b.append( "code" , code );
if ( updatedExisting != NotUpdate )
b.appendBool( "updatedExisting", updatedExisting == True );
b.append( "n", nObjects );
b.appendNumber( "n", nObjects );
}
void LastErrorHolder::setID( int id ){