-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: 1.8.0
-
Component/s: None
-
None
$$unsetOrMatches accepts anything as its argument, and should recursively match an existing value in the actual document against that argument. While POC-ing test changes for DRIVERS-1713, I realized that PHPLIB's Matches constraint doesn't actually handle the case where $exists appears directly within $$unsetOrMatches. This is due to Matches::assertMatchesOperator() not having a case for $exists, which is presently only handled during document iteration.
- has to be done before
-
PHPLIB-652 Convert change stream spec tests to unified test format
- Closed