Exemple #1
0
class Doc(Document):
    __collection__ = 'testdoc'
    s = fields.SetField(fields.IntegerField())
class Doc(Document):
    __collection__ = 'testdocs'
    li = fields.SetField(fields.ReferenceField(RDoc))
class Doc(Document):
    __collection__ = 'testdocs'
    li = fields.SetField(fields.EmbeddedDocumentField(EDoc))