I hunted through the mongoengine documentation and around, and there seems to be no very clear answer to this question, so I ask: what is the best way you request DictField? code example:
class Note(Document): someData = DictField() note = Note() note.someData['someID'] = {"name": "Steve", "age":25} note.save()
The closest I could find in the docs:
Note.objects(someData__name="Steve")
but it doesnβt work. Again, I feel that this should be a simple answer. Thank you for your help.
source share