mongoDB references fetching takes time
问题 I use mongoengine as Object-Document mapper. Here is a brief description of the collections that are causing the problem. Each document in collection A, can have a list of references to documents in Collection B. class A(Document): list_b = ListField(EmbeddedDocumentField(EB)) #other fields are not mentioned. class EB(EmbeddedDocument): b_reference = ReferenceField('B') loc = GeoPointField() class B(Document): name = StringField() #other fields are not mentioned. When i try to access the list