If the userId was defined, it would throw an error because of the second part. I am not sure this is intended behaviour since this is a valid MongoDB query
plain-jordan-57405
03/23/2023, 10:21 AM
If you are okay with it, I could open a PR to support it