I\'m having a little trouble with a query in Java on a MongoDB.
I have the follow structure in the database:
{ \"_id\" : Ob
With MongoDB Java Driver v3.2.2 you can do something like this:
FindIterable iterable = collection.find(Document.parse("{\"status.name\": \"Expired\"}"));
This returns all documents containing "Expired" in the status.name nested field.
status.name