Tuesday, 15 October 2019

What’s the recommended practice for a DAO class?

I am writing a DAO that will interact with my MongoDB database using Mongoose for my Express project. I am trying to decide whether I should use promises or callbacks for my methods? Does anyone have any good articles to read up on this or suggestions?

Submitted October 15, 2019 at 08:06PM by pablolikescats

No comments:

Post a Comment