I don’t quite understand whether 1000 refers to the sub-object called 1000, or userID=1000? If it is the former, there is no way to write it. If it’s the latter, there should be
db.actions.find({"joinObj.1000.userID": 1000})
Please clarify the issue before we can continue the discussion.
I don’t quite understand whether 1000 refers to the sub-object called 1000, or
userID=1000
?If it is the former, there is no way to write it. If it’s the latter, there should be
Please clarify the issue before we can continue the discussion.