Skip to content

Commit 5613c10

Browse files
author
Brendan W. McAdams
committed
Clarify documentation for 'getN' on WriteResult as to its actual meaning
1 parent 3bd0364 commit 5613c10

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/com/mongodb/WriteResult.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ public String getError(){
119119
}
120120

121121
/**
122-
* Gets the "n" field
122+
* Gets the "n" field, which contains the number of documents
123+
* affected in the write operation.
123124
* @return
124125
*/
125126
public int getN(){

0 commit comments

Comments
 (0)