Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-188

Support legacy file documents with non-ObjectID identifiers

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Per the GridFS spec:

      Note: if a file in a GridFS bucket was added by a legacy implementation, its id may be of a type other than ObjectId. Drivers that previously used id’s of a different type MAY implement a download() method that accepts that type, but MUST mark that method as deprecated.

      We should either provide separate methods or a separate Bucket class to work with such files.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: