KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm playing around with MongoEngine and i just can't find the way querying ReferenceFields Class Foo(Document) bar = ReferenceField(Bar) ... Class Bar(Document) value =IntField() ... bars = Bar.objects.filter(value__lt=1000) Django: foos = Foo.objects.filter(bar__in=bars) MongoEngine : ? Is there a way to achieve this ? Thanks in advance,
Tags (comma-separated)
Save Edits
Cancel