We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baf5f0f commit 0e916dfCopy full SHA for 0e916df
hash_data_api/datasources/mongo.py
@@ -50,11 +50,9 @@ def query(self, **kargs):
50
property = o.replace('-', '')
51
append2sort((property, direction))
52
53
- if kargs.get('fields'):
54
- kargs['fields'].append('_id')
55
- else:
+ if !kargs.get('fields'):
56
kargs['fields'] = None
57
- print(kargs['fields'])
+
58
return collection.find(
59
filter=filter,
60
projection=kargs['fields'],
0 commit comments