Hi,
I am having a document with the structure as follow:
docID: {
“docType”: “chat”,
“members”: {
memberID1: {
“status”: “member”,
},
memberID2: {
“status”: “member”,
},
memberID3: {
“status”: “follower”,
}
}
}
I would like to use a query to get all the objects inside memberList of the document with a specified status. For example, I want to get all of the objects in the memberList of this document with status “member”, which would return the 2 objects of memberID1 and memberID2.
Thank you in advance.