I'm using nodejs and SequelizeJS to my sql database.
After I verify the connection,
sequelize
.authenticate()
.then(() => {
console.log('Connection has been established successfully.');
})
.catch(err => {
console.error('Unable to connect to the database:', err);
});
Does
Sequelize
open a new connection every time it executes a SQL-command or it keeps an open connection and reuses it?How can I verify that?