Reputation: 788
I have an element in a mongoDB collection that looks like below. The value "abcdefgh"
changes for each row. How do I query to get the row that has the value "abcdefgh"
within the object that is stored under the _id
field?
"_id": {
"abcdefgh": {
"w": true,
"r": true
}
Upvotes: 4
Views: 3621