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

Commit 1fcac736 by catalint11main

added transaction option to bulkCreate docs

1 parent de1d3e9d
Showing with 1 additions and 0 deletions
......@@ -1252,6 +1252,7 @@ module.exports = (function() {
* @param {Boolean} [options.individualHooks=false] Run before / after create hooks for each individual Instance? BulkCreate hooks will still be run if options.hooks is true.
* @param {Boolean} [options.ignoreDuplicates=false] Ignore duplicate values for primary keys? (not supported by postgres)
* @param {Array} [options.updateOnDuplicate] Fields to update if row key already exists (on duplicate key update)? (only supported by mysql & mariadb). By default, all fields are updated.
* @param {Transaction} [options.transaction]
*
* @return {Promise<Array<Instance>>}
*/
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!