Dynamic EmbeddedDocument with mongoDB - MongoEngine
So, according to MongoEngine documentation:
https://mongoengine-odm.readthedocs.org/en/latest/guide/defining-documents.html
a document of type A must inherit from DynamicDocument so that we can store an object (of type A) that has additional fields than those officially declared.
How can I make the EmbeddedDocument behave like a DynamicDocument?
+3
Clara
source
to share
1 answer
It sounds like you want DynamicEmbeddedDocument .
+3
mjhm
source
to share