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

find method for GridFS

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.11
    • None
    • None
    • python GridFS

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: