I have simple question:
How do I express this query
db.inventory.find( { "instock": { warehouse: "A", qty: 5 } } )
Query for a Document Nested in an Array
in spring data mongoDB, preferably using QueryDSL but other ways are welcome, too.
All my queries so far match fields on any embedded document in the array but I need to match both on the same.