static async create(config) {
        const db = new Database(config);
        if (db !== false) {
            db.toLog()
            this.authorized = await db.tryConnect()
            if (this.authorized) {
                await db.generateSchema();
                db.toLog()
                return db;
            }
        }
        return null;
    }
/**
     * Create Database object, query database and generate entire schema structure
     * This don't creates models of Sequelize
     * @param {*} config (optional) database config
     * @returns {Database} database object 
     */
Create Database object, query database and generate entire schema structure
This don't creates models of Sequelize
@param {*} config (optional) database config
@returns {Database} database object
Create Database object query database and generate entire schema structure This don ' t creates models of Sequelize @param { * } config ( optional ) database config @returns { Database } database object
static async create(config) {
        const db = new Database(config);
        if (db !== false) {
            db.toLog()
            this.authorized = await db.tryConnect()
            if (this.authorized) {
                await db.generateSchema();
                db.toLog()
                return db;
            }
        }
        return null;
    }
static async create ( config ) { const db = new Database ( config ) ; if ( db !== false ) { db . toLog ( ) this . authorized = await db . tryConnect ( ) if ( this . authorized ) { await db . generateSchema ( ) ; db . toLog ( ) return db ; } } return null ; }
Create Database object, query database and generate entire schema structure
 This don't creates models of Sequelize
 @param {*} config (optional) database config
 @returns {Database} database object
Create Database object query database and generate entire schema structure This don ' t creates models of Sequelize @param { * } config ( optional ) database config @returns { Database } database object