Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-6547

Comment on: "manual/reference/operator/query/all.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    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" : "

      {\"changeType\":\"changeTelephoneNumber\",\"id\":\"560e49f93b0000130039359d\"}

      "
      }

      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,

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 14 weeks, 5 days ago