GridFSBucket cannot use a custom id

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.1.0
    • Component/s: GridFS
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      with the old GridFS api, I can use an string uuid generated from java for the file id.
      GridFSInputFile.setId("<a string uuid>")
      with the new GridFSBucket api, it seems that I have to use an ObjectId generated by the api.

            Assignee:
            Ross Lawley
            Reporter:
            yuechao
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: