I\'m writing a Node app where an abstract base class uses a database pool (it\'s a very simple ORM). It looks a bit like this: