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

getLastErrorCmd

This commit is contained in:
Eliot Horowitz 2009-12-18 16:53:27 -05:00
parent 96472f28a3
commit ce3f73a645

View File

@ -468,6 +468,8 @@ DB.prototype.getLastErrorObj = function(){
throw "getlasterror failed: " + tojson( res );
return res;
}
DB.prototype.getLastErrorCmd = DB.prototype.getLastErrorObj;
/* Return the last error which has occurred, even if not the very last error.