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

Method dropSchema

src/sequelize.js:754–756  ·  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

752 * @returns {Promise}
753 */
754 async dropSchema(schema, options) {
755 return await this.getQueryInterface().dropSchema(schema, options);
756 }
757
758 /**
759 * Drop all schemas.

Callers

nothing calls this directly

Calls 1

getQueryInterfaceMethod · 0.95

Tested by

no test coverage detected