When defining the middleware function for the mongoose pre hook on insertMany, we need to pass two arguments, instead of only one, ...
確定! 回上一頁