Commit 5d1686fe authored by Jeremy Mikola's avatar Jeremy Mikola

Note that UpdateResult::getModifiedCount() is undefined for legacy ops

parent 2a7cbb6d
...@@ -38,7 +38,8 @@ class UpdateResult ...@@ -38,7 +38,8 @@ class UpdateResult
/** /**
* Return the number of documents that were modified. * Return the number of documents that were modified.
* *
* This value is undefined if the write was not acknowledged. * This value is undefined if the write was not acknowledged or if the write
* executed as a legacy operation instead of write command.
* *
* @see UpdateResult::isAcknowledged() * @see UpdateResult::isAcknowledged()
* @return integer * @return integer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment