DEV Community

Discussion on: A deeper dive into Sequelize queries: dynamic field names, the Op object, and raw SQL insertions

Collapse
robertowiest profile image
Roberto Wiest

Hello very good your article. How could I use the getBandFollowers function in an external file, for example, database.js would use the function to connect to the database and another controller.js file containing the getBandFollowers function. How would be the tulization of this function?