Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class A(Document):
- foo = StringField()
- class B(Document):
- bar = StringField()
- class C(Document):
- child = DocumentField(A or B)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement