mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 00:56:44 +01:00
getLastErrorCmd
This commit is contained in:
parent
96472f28a3
commit
ce3f73a645
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user