get-programming-with-nodejs icon indicating copy to clipboard operation
get-programming-with-nodejs copied to clipboard

MongoDB 7.0.7 does not accept callback function for API functions

Open usapokemon opened this issue 2 years ago • 0 comments

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.

usapokemon avatar Mar 26 '24 20:03 usapokemon