So, I know that the save function’s callback will accept at least two parameters, error, and the saved document. But when I try to check that on the docummentation, the only information I se regarding the callback is
[fn] «Function» optional callback
The question is, why is Moongose ignoring the information about the callback’s argument?
I read somewhere else that there is even third argument it can take, " The number of rows affected". How am I supposed to know about that, or if it is even true if it is not listed on the official documentation?
The purpose of these questions is to understand how to search documentation and to understand what to expect when you do that. Thanks!