Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


querying mongodb gridfs


querying mongodb gridfs  using -'mongodb,node.js,mongoose,gridfs'

I have a blogging system that stores uploaded files into the GridFS system. Problem is, I dont understand how to query it!

I am using Mongoose with NodeJS which doesnt yet support GridFS so I am using the actual mongodb module for the GridFS operations. There doesn't SEEM to be a way to query the files metadata like you do documents in a regular collection.

Would it be wise to store the metadata in a document pointing to the GridFS objectId? to easily be able to query?

Any help would be GREATLY appreciated, im kinda stuck :/
    

asked Oct 13, 2015 by android_master
0 votes
2 views



Related Hot Questions



Government Jobs Opening


...