plain-jordan-57405
03/22/2023, 2:27 PM{
"$or": [
{
"userId": {
"$type": "undefined"
}
},
{
"userId": null
}
]
}
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