I have tried using find and findOne and both are not returning a document. find is returning an empty array while findOne
find
findOne
Simply inorder to avoid pluralization complexity use this:
var Model = mongoose.model("Model", fileSchema, "pure name your db collection");
It's very confusing.[at least for me.]