You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, queries in MongoDB return all fields in matching documents. To limit the amount of data that MongoDB sends to applications, you can include a projection document to specify or restrict fields to return.
Issue
using params.fields does nothing and all fields is returned in matching documents.
By default, queries in MongoDB return all fields in matching documents. To limit the amount of data that MongoDB sends to applications, you can include a projection document to specify or restrict fields to return.
Issue
using
params.fields
does nothing and all fields is returned in matching documents.Expected
The following test failed.
This PR seems to solve the issue :
#60
Please make a review if possible
The text was updated successfully, but these errors were encountered: