* Drop a database * * @param {string} database Database name to drop * @param {object} [options] Query options * * @returns {Promise}
(database, options)
| 44 | * @returns {Promise} |
| 45 | */ |
| 46 | async dropDatabase(database, options) { |
| 47 | options = options || {}; |
| 48 | const sql = this.queryGenerator.dropDatabaseQuery(database); |
| 49 | return await this.sequelize.query(sql, options); |
| 50 | } |
| 51 | |
| 52 | /** |
| 53 | * Create a schema |
no test coverage detected