Clarify use of 'fields' parameter in Collection.find()

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Trivial - P5
    • 2.4
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      Ubuntu 12.04, Python 2.7
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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!

              Assignee:
              Bernie Hackett
              Reporter:
              Dave Walk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: