我正在尝试显示来自gridfs的图像和文件。store named 'attachments' private val gridFS = reactiveMongoApi.gridFS// let's build an index on our gridfs chunks collection if none
我很难更换使用GridFS的部分,因为我找不到任何关于GridFS的新闻或文档。因为它的类被标记为弃用:如何在最新版本中使用它?filePath, FileMode.Open)) // generate unique file name and upload it
var remoteFile = DbCurrent.GridFS.Upload