diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-07-07 10:42:33 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-07-07 10:42:40 -0400 |
commit | c08f11d5a386a1315a4dcfc299f2e4c6ab3884e9 (patch) | |
tree | 113fc76daa61ade81e31fa59e6af6441015eb0e7 /client | |
parent | 20b60c29948b30b6ff9c989d67eaf0c61d653709 (diff) | |
download | mongo-c08f11d5a386a1315a4dcfc299f2e4c6ab3884e9.tar.gz |
fixed comment
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(); |