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

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Uladzimir Mihura (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: