Skip to main content

All Questions

4 votes
1 answer
1k views

Loading a database table using a promise chain

I am creating a util module that I'm using to communicate with a MS-SQL database. I want each public method to return a promise. I started with a private function that executes a DB query and returns ...
TimCodes's user avatar
  • 125