Я так же пробовал переписать класс на async / await
class Db {
    constructor() {
        this.mysql = require('mysql');
        this.sql = this.mysql.createConnection({
            host: "127.0.0.1",
            database: "fastweb-yii2",
            user: "root",
            password: ""
        });
        this.sql.connect(function(err) {
            if (err) throw err;
        });
    }
    async query(sql) {
        return await this.sql.query(sql, function (err, result) {
            let reultsQuery = {};
            if (err) throw err;
            result.forEach(function(rowData, index) {
                reultsQuery[index] = rowData;
            });
            return reultsQuery;
        });
    }
    insert(sql, params) {
        this.sql.query(sql + ' ?', params, (error, results, fields) => {
            if (error) { throw error }
        })
    }
}
module.exports = Db;
но в результате возвращает Promise { <pending> }
Можнете сказать в чем ошибка?