get-programming-with-nodejs
get-programming-with-nodejs copied to clipboard
MongoDB 7.0.7 does not accept callback function for API functions
According to the MongoDB/Mongoose docs, the usage of callback functions has been deprecated in Mongoose 7. x. Therefore, the sample code needs to be updated to comply with the changes especially in lesson_13, lesson_14, and possibly lesson_15, if callback functions is still used in the API calls.