Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-138

find method for GridFS

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.11
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      python GridFS

      why doesn't GridFS have a .find method, that can be used to get the file we need based on metadata or filename ?
      the .exists method returns True or False, instead of True or False it will be a lot easier if it returns the file instance or None like find_one

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            kevin@mongodb.com Kevin Ryan (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: