vahan

Results issues of vahan

pymongo==3.2.2 mongoengine==0.10.6 ``` class ABC(DynamicDocument): meta = { 'indexes':[ 'nested.a', 'nested.b' ] } nested = mongo.DictField() ``` This fails with: `AttributeError: 'DictField' object has no attribute 'document_type'` However if base...

Bug

if I have gid = mongo.ObjectIdField(primary_key=True) I can access it only using "id" or "pk", but not its own name.

`In [11]: q = Q('bool') ...: for each in range(5): ...: q = q | Q('match', val=each) ...: In [12]: q.to_dict() Out[12]: {'bool': {'should': [{'bool': {'should': [{'bool': {'should': [{'bool': {'should':...