* Create a database * * @param {string} database Database name to create * @param {object} [options] Query options * @param {string} [options.charset] Database default character set, MYSQL only * @param {string} [options.collate] Database default collation * @param {string} [optio
(database, options)
| 30 | * @returns {Promise} |
| 31 | */ |
| 32 | async createDatabase(database, options) { |
| 33 | options = options || {}; |
| 34 | const sql = this.queryGenerator.createDatabaseQuery(database, options); |
| 35 | return await this.sequelize.query(sql, options); |
| 36 | } |
| 37 | |
| 38 | /** |
| 39 | * Drop a database |
no test coverage detected