diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/dbclient.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/dbclient.h b/client/dbclient.h index d461bbfbec0..4385ffc3d9a 100644 --- a/client/dbclient.h +++ b/client/dbclient.h @@ -465,12 +465,12 @@ namespace mongo { */ bool createCollection(const string &ns, long long size = 0, bool capped = false, int max = 0, BSONObj *info = 0); - /** Get error result from the last operation on this connection. + /** Get error result from the last write operation (insert/update/delete) on this connection. @return error message text, or empty string if no error. */ string getLastError(); - /** Get error result from the last operation on this connection. + /** Get error result from the last write operation (insert/update/delete) on this connection. @return full error object. */ virtual BSONObj getLastErrorDetailed(); |