MCPcopy
hub / github.com/sequelize/sequelize / dropSchema

Method dropSchema

lib/dialects/abstract/query-interface.js:74–78  ·  view source on GitHub ↗

* Drop a schema * * @param {string} schema Schema name to drop * @param {object} [options] Query options * * @returns {Promise}

(schema, options)

Source from the content-addressed store, hash-verified

72 * @returns {Promise}
73 */
74 async dropSchema(schema, options) {
75 options = options || {};
76 const sql = this.queryGenerator.dropSchema(schema);
77 return await this.sequelize.query(sql, options);
78 }
79
80 /**
81 * Drop all schemas

Callers 1

dropAllSchemasMethod · 0.95

Calls 1

queryMethod · 0.45

Tested by

no test coverage detected