不要怂,就是干,撸起袖子干!

Commit b2a21346 by iamdi Committed by GitHub

docs(query-interface): removeIndex indexNameOrAttributes (#11947)

1 parent 8a5ecc1d
Showing with 5 additions and 5 deletions
......@@ -679,7 +679,7 @@ class QueryInterface {
*
* @param {string[]} tableNames table names
* @param {object} [options] Query options
*
*
* @returns {Promise}
*/
getForeignKeysForTables(tableNames, options) {
......@@ -753,9 +753,9 @@ class QueryInterface {
/**
* Remove an already existing index from a table
*
* @param {string} tableName Table name to drop index from
* @param {string} indexNameOrAttributes Index name
* @param {object} [options] Query options
* @param {string} tableName Table name to drop index from
* @param {string|string[]} indexNameOrAttributes Index name or list of attributes that in the index
* @param {object} [options] Query options
*
* @returns {Promise}
*/
......@@ -1098,7 +1098,7 @@ class QueryInterface {
* @param {string} tableName table name from where to delete records
* @param {object} where where conditions to find records to delete
* @param {object} [options] options
* @param {boolean} [options.truncate] Use truncate table command
* @param {boolean} [options.truncate] Use truncate table command
* @param {boolean} [options.cascade=false] Only used in conjunction with TRUNCATE. Truncates all tables that have foreign-key references to the named table, or to any tables added to the group due to CASCADE.
* @param {boolean} [options.restartIdentity=false] Only used in conjunction with TRUNCATE. Automatically restart sequences owned by columns of the truncated table.
* @param {Model} [model] Model
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!