Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Mongo DB 2.6.11, running on Ubuntu Linux
*Location*: https://docs.mongodb.org/manual/reference/operator/query/all/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36
*Referrer*: https://www.google.co.uk/
*Screen Resolution*: 1920 x 1080
*repo*: docs
*source*: reference/operator/query/all
Mongo DB 2.6.11, running on Ubuntu Linux *Location*: https://docs.mongodb.org/manual/reference/operator/query/all/ *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36 *Referrer*: https://www.google.co.uk/ *Screen Resolution*: 1920 x 1080 *repo*: docs *source*: reference/operator/query/all
Description
Hi,
Your data query pages are too simplistic. It might be suitable for someone with very small needs, but real world systems and implementations are much more complex and whether by design or accident have very much more convoluted document structures. Your help pages do nothing to support those customers. As an example, I'm at a Mongo DB user where the document structures are complex and nested, and there is no explanation for how to query documents for a nested value. How is such a query performed?
A test document is like:
{
"_id" : ObjectId("560e49f93b0000130039359d"),
"applicationId" : "098765432134567",
"mainApplicantNino" : "CS700100A",
"availableForCOCAutomation" : false,
"userLevelOfAssurance" : "2",
"userIsMainApplicant" : true,
"nino" : "CS700100A",
"json" : "
"
}
My question is how can such a document be queried for the value of the element 'changeType', as in the document above. There is nothing I have found in your docs pages to help me to achieve such a result.
Regards,