mongodb mongoengine filter document on nexted EmbeddedDocumentLIst fields
问题 I have a document with a EmbeddedDocumentList inside an other EmbeddedDocumentlist, I need to filter the collections retrieving only the documents that have a specified value for a field inside the inner EmbeddedDocumentList the reduced version of my models is: class RecipeIngredient(EmbeddedDocument): ingredient = ReferenceField(Ingredient, required=True) quantity = IntField(required=True) class RecipeLocalData(EmbeddedDocument): price = FloatField(required=True) enabled = BooleanField