Lets say I have an array of promises. Each element of my array is a knex.js query builder and is ready to be executed and returns a promise.
How can I run each element of this array sequentially. The array is built dynamically.
let promisesArray = [q1,q2,q3] ;
Each q is not a promise by itself but it will return a promise upon execution.