After landing into the API docs of mongoose, there is left side menu, Under model.js section. We see something like this:
- model.js
-Model
-save
-increment
-remove <== 1
-model
-$where
-ensureIndexes
-remove <== 2
...
Both remove are having the link to Model#remove([fn])
There is one more topic which is not linked.
Titled Model.remove(conditions, [callback])
which is documented under the same model.js
section. (just after the topic Model.ensureIndexes)
Could anyone one tell me what is the difference between both?