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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.1.1
    • 2.7
    • None
    • all

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: