Details
-
Bug
-
Status: Closed
-
Minor - P4
-
Resolution: Works as Designed
-
3.0.4
-
None
-
None
-
ALL
Description
QUERY:
db.users.find({
|
$or: [
|
{
|
_id: senderId,
|
"_contacts._profile_id": recipientId
|
},
|
{
|
_id: recipientId,
|
"_contacts._profile_id": senderId
|
}
|
]
|
},
|
{
|
"_contacts.$": 1
|
})
|
ERROR:
BadValue positional operator (_contacts.$) requires corresponding field in query specifier","code":17144} must be equivalent to undefined