Mongo.GridFs.Upload.open_upload_stream
You're seeing just the function
open_upload_stream
, go back to Mongo.GridFs.Upload module for more information.
Specs
open_upload_stream(Mongo.GridFs.Bucket.t(), String.t(), BSON.document() | nil) :: Mongo.GridFs.UploadStream.t()
Opens a stream that the application can write the contents of the file to. The driver generates the file id.
User data for the 'metadata' field of the files collection document.