Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34404

pull an document in a nested array

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None

      {
          "_id" : ObjectId("5ac70ee0d11cd50431261929"),
          "activeHomeGuardId" : "12",
          "professionalDetails" : [ 
              {
                  "year" : 2019,
                  "totalLeavesPerYear" : 0,
                  "monthDetails" : [ 
                      {
                          "month" : "Jan",
                          "paradeParticular" : {
                              "_class" : "com.epsoft.ezhome.beans.ParadeParticular",
                              "paradeParticularId" : "9",
                              "location" : "saikiiii",
                              "unit" : "55555555",
                              "startDate" : "05/06/2015",
                              "endDate" : "06/1/2016",
                              "attended" : "yes"
                          }
                      }
                  ]
              }
          ]
      }
      

      i need to pull paradeParticular from the document

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            srikanth27 srikanth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: