Yes find({}) will always return an array of objects or an empty array. Even if you pass in _id as a search parameter simply because find tries to search for all ...
mongoose-find-in-array-of-objects
939c2ea5af
mongoose find in array of objects, mongoose find id in array of objects, mongoose find array object, mongoose find array items
Comments