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

Commit 956ea2b8 by Felix Wehnert Committed by Sushant

docs(queryInterface): bulkDelete truncate support options (#11486)

1 parent 6b3ccd81
Showing with 2 additions and 0 deletions
......@@ -1089,6 +1089,8 @@ class QueryInterface {
* @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.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
*
* @returns {Promise}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!