Articles → MONGODB → Query The Embedded Fields And Arrays In MongodbQuery The Embedded Fields And Arrays In MongodbThis article explains how to query the embedded fields and arrays in MongoDB.Querying The Embedded Fields The embedded fields can be queried using the following syntax: -[attribute].[field]Querying An Array An array can be queried in two ways. In the first method, we check whether the value exists in the array.Or we can find an array that contains only one element.Posted By - Karan Gupta Posted On - Friday, January 5, 2024 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
[attribute].[field]
Query/Feedback