Multer gridfs storage referencing uploaded file to a new collection
问题 Uploaded file using multer gridfs storage i want to reference it to newly created collection (movies). The fileID i referenced to the uploaded file is not the same with the uploaded file, even with that the movies collection is not saved on to the database. The fileID i referenced to the uploaded file is not the same with the uploaded file, even with that the movies collection is not saved on the database //movie schema const mongoose = require('mongoose'); const Schema = mongoose.Schema;