Skip to content

Conversation

bekab95
Copy link

@bekab95 bekab95 commented Sep 2, 2018

I was using mongoengine for Flask Admin and needed support for EmbeddedDocumentListField

May this also needs additional details to be added ? for example I have not yet tested querying
Needs Implementation of methods mentioned in mongoengine docs.

class EmbImages(EmbeddedDocument):
    image = ImageField()
    comments = StringField()

class EmbedStrings(EmbeddedDocument):
    stri = StringField()

class Imgs(Document):
    images = EmbeddedDocumentListField(EmbImages)
    com = StringField()
    coms = EmbeddedDocumentListField(EmbedStrings)

capture

@bekab95 bekab95 closed this Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant