* @param {string} tableName Table name to drop index from
* @param {string} tableName Table name to drop index from
* @param {string} indexNameOrAttributes Index name
* @param {string|string[]} indexNameOrAttributes Index name or list of attributes that in the index
* @param {object} [options] Query options
* @param {object} [options] Query options
*
*
* @returns {Promise}
* @returns {Promise}
*/
*/
...
@@ -1098,7 +1098,7 @@ class QueryInterface {
...
@@ -1098,7 +1098,7 @@ class QueryInterface {
* @param {string} tableName table name from where to delete records
* @param {string} tableName table name from where to delete records
* @param {object} where where conditions to find records to delete
* @param {object} where where conditions to find records to delete
* @param {object} [options] options
* @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.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 {boolean} [options.restartIdentity=false] Only used in conjunction with TRUNCATE. Automatically restart sequences owned by columns of the truncated table.