I'm trying to create an API using MongoDB in Python with the pymongo driver and I don't want to return the _id field to the client. I searched all over the documentation and can't find a way to remove it as the pymongo documentation says that it is "always" included. Is there any kind of workaround? Thanks!
Clarify use of 'fields' parameter in Collection.find()
ExportXML Word Printable JSON
- Assignee:
-
Bernie Hackett
- Reporter:
-
Dave Walk
- Votes:
-
0 Vote for this issue - Watchers:
-
4 Start watching this issue
- Created:
- Updated:
- Resolved: