static async create(database) {
        if (database instanceof Database) {
            let ctrl = new DynamicControllers();
            utils.logdebug(`* Start generating Dynamic Controllers`);
            ctrl.database = database;
            await Promise.all(Object.values(database.tables).map(ctrl.create,ctrl));
            utils.logdebug(`* Finish generating Dynamic Controllers`);
            return ctrl;
        } else {
            console.error("Failed generating Dynamic Controllers");
            return null;
        }
        
    }
/**
     * Creates DynamicControllers object, generate controllers from database schema
     * using Sequelize models of each Table
     * @param {Database} database 
     * @returns {DynamicControllers}
     */
Creates DynamicControllers object, generate controllers from database schema
using Sequelize models of each Table
@param {Database} database
@returns {DynamicControllers}
Creates DynamicControllers object generate controllers from database schema using Sequelize models of each Table @param { Database } database @returns { DynamicControllers }
static async create(database) {
        if (database instanceof Database) {
            let ctrl = new DynamicControllers();
            utils.logdebug(`* Start generating Dynamic Controllers`);
            ctrl.database = database;
            await Promise.all(Object.values(database.tables).map(ctrl.create,ctrl));
            utils.logdebug(`* Finish generating Dynamic Controllers`);
            return ctrl;
        } else {
            console.error("Failed generating Dynamic Controllers");
            return null;
        }
    }
static async create ( database ) { if ( database instanceof Database ) { let ctrl = new DynamicControllers ( ) ; utils . logdebug ( ` ` ) ; ctrl . database = database ; await Promise . all ( Object . values ( database . tables ) . map ( ctrl . create , ctrl ) ) ; utils . logdebug ( ` ` ) ; return ctrl ; } else { console . error ( "Failed generating Dynamic Controllers" ) ; return null ; } }
Creates DynamicControllers object, generate controllers from database schema
 using Sequelize models of each Table
 @param {Database} database
 @returns {DynamicControllers}
Creates DynamicControllers object generate controllers from database schema using Sequelize models of each Table @param { Database } database @returns { DynamicControllers }