I have a nodejs application and I am using sequelize as ORM with Postgres. As explained in documentation of sequelize, here is my code for pooling.