[SERVER-34404] pull an document in a nested array Created: 10/Apr/18  Updated: 24/Apr/18  Resolved: 10/Apr/18

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: srikanth Assignee: Kelsey Schubert
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

{
    "_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



 Comments   
Comment by Kelsey Schubert [ 10/Apr/18 ]

Hi srikanth27,

Thanks for your report. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-users group.

Kind regards,
Kelsey

Generated at Thu Feb 08 04:36:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.