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.
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.