-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 1.4.0
-
Component/s: None
FindAndModify::createCommandDocument() does not include the writeConcern option, as is done for some other commands (e.g. Update::getCommandDocument()). This only affects the Explainable API (PHPLIB-156), so it's not a critical omission.
While addressing this ticket, we should examine other getCommandDocument() methods and confirm that they set all command options that may be relevant for the explain command.
- is related to
-
PHPLIB-156 Support explain command
- Closed
- related to
-
SERVER-28678 The explain command should reject explained commands containing readConcern or writeConcern
- Closed
- tested by
-
PHPLIB-1144 Add unit tests on Explainable::getCommandDocument() implementations
- Closed