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

find method for GridFS

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.11
    • Component/s: None
    • Labels:
      None
    • Environment:
      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

            • Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: