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

GridFS. There is no method to retrieve files list as cursor.

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7
    • Affects Version/s: 2.1.1
    • Component/s: None
    • Labels:
    • Environment:
      all

      There is no method to retrieve files list as cursor except direct query to fs.files. GridFS object has method list(), but it is equivalent with db["fs.files"].distinct("filename"). It will be good to add functionality to work with files collection as a cursor, which is expanded with method read() to retrieve file's data.

            Assignee:
            kyle.erf Kyle Erf
            Reporter:
            uladzimir_mihura@epam.com Uladzimir Mihura
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: