Hello gridfs lib + fsHooks for mongodb bucket storage

This commit is contained in:
David Arnold 2020-09-13 16:36:34 -05:00
parent ee2ffc616a
commit f650a17cd8
No known key found for this signature in database
GPG key ID: 6D6A936E69C59D08
5 changed files with 128 additions and 0 deletions

View file

@ -0,0 +1,4 @@
import { MongoInternals } from 'meteor/mongo';
export const createObjectId = ({ gridFsFileId }) =>
new MongoInternals.NpmModule.ObjectID(gridFsFileId);