Open
Description
I have two models, let's say:
class Article(Document):
title = StringField()
tags = ListField(StringField())
class Blog(Document):
articles = ListField(ReferenceField(Article))
I expected that Blog.objects.filter(articles__tags='lemon')
would return the list of blogs that have at least one article using the tag lemon, but it just returns an empty set.
Is it the expected behaviour or a bug? Could it be supported?
Regards,