Skip to content

Is it possible listField with Embedded fields ? #20

@horacioibrahim

Description

@horacioibrahim

Hi,

Is it possible to implement ListField with EmbeddedField? Something:

stars = ListField(EmbeddedDocumentField(StarsModel))

where...

class StarsModel(EmbeddedDocument):
    score = db.IntField(default=0)
    voter = db.ReferenceField(User)

How to make this schema?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions