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

Method dropSchema

lib/sequelize.js:746–748  ·  view source on GitHub ↗

* Drop a single schema * * **Note:** this is a schema in the [postgres sense of the word](http://www.postgresql.org/docs/9.1/static/ddl-schemas.html), * not a database table. In mysql and sqlite, this drop a table matching the schema name * * @param {string} schema Name of the schema

(schema, options)

Source from the content-addressed store, hash-verified

744 * @returns {Promise}
745 */
746 async dropSchema(schema, options) {
747 return await this.getQueryInterface().dropSchema(schema, options);
748 }
749
750 /**
751 * Drop all schemas.

Callers

nothing calls this directly

Calls 1

getQueryInterfaceMethod · 0.95

Tested by

no test coverage detected