You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
Hello!
How I can filter list by multiple values? By single value is working.
My model is (I wanna filter "languages" field):
class User(Document):
firstname = StringField(required=True, max_length=512)
lastname = StringField(required=True, max_length=512)
email = EmailField(required=True, max_length=256)
languages = ListField(StringField())
class UserResource(Resource):
document = User
schema = schemas.User
filters = {
'languages': [ops.Exact, ops.In, ops.Contains],
'firstname': [ops.Startswith]
}
The text was updated successfully, but these errors were encountered: