You can do it. As long as you can locate the position of the array containing the sub-document, you can search for what you want. You can check my previous answer:
/q/1010000002943721/a-1020000003716002
If it does not meet your requirements, you can describe your problem in more detail, such as what the data structure you imagine looks like and what kind of search you want to do
You can do it. As long as you can locate the position of the array containing the sub-document, you can search for what you want. You can check my previous answer:
/q/1010000002943721/a-1020000003716002
If it does not meet your requirements, you can describe your problem in more detail, such as what the data structure you imagine looks like and what kind of search you want to do
No problem, you can refer to the official documentation directly
https://docs.mongodb.org/manual/tutorial/query-documents/#embedded-documents