class EmbedDoc(BaseDocument):
     ref = fields.ListField(fields.MapField(fields.DocumentField(Outer)))
 class Outer(BaseDocument):
     lst = fields.ListField(fields.DocumentField(Inner))
Example #3
0
 class EmbedDoc(BaseDocument):
     ref_lst = fields.ListField(fields.DocumentField(IntDoc))
Example #4
0
 class EmbedDoc(BaseDocument):
     ref = fields.DocumentField(IntDoc)
Example #5
0
 class EmbedDoc(BaseDocument):
     ref_map = fields.MapField(fields.DocumentField(IntDoc))