I am trying to query my database. Some records currently have extra fields that are not included in my model schema (by error, but I want to handle these cases). When I try to q
For ignoring this error when having extra fields while data loading, set strict to False in your meta dictionary.
strict
False
class User(Document): email = StringField(required=True, unique=True) password = StringField() meta = {'strict': False}