Skip to content

doc(hook): add info about belongsToMany#11601

Merged
papb merged 3 commits intosequelize:masterfrom
BigsonLvrocha:update-hook-do-belongs-to-many
Oct 24, 2019
Merged

doc(hook): add info about belongsToMany#11601
papb merged 3 commits intosequelize:masterfrom
BigsonLvrocha:update-hook-do-belongs-to-many

Conversation

@BigsonLvrocha
Copy link
Contributor

Description of change

Close #11600
Add information that beforeBulkCreate/afterBulkCreate hooks will run

Add information that beforeBulkCreate/afterBulkCreate hooks will run
@papb
Copy link
Member

papb commented Oct 23, 2019

Hello! I see you are a first-time contributor, thank you for taking the time to help Sequelize! I hope to see more PRs from you in the future!

I have a question, posted in your issue :)

@papb papb added status: awaiting response For issues and PRs. OP must respond (or change something, if it is a PR). Maintainers have no action docs For issues and PRs. Things related to documentation, such as changes in the manuals / API reference. labels Oct 23, 2019
@codecov
Copy link

codecov bot commented Oct 23, 2019

Codecov Report

Merging #11601 into master will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #11601      +/-   ##
==========================================
+ Coverage   96.24%   96.26%   +0.02%     
==========================================
  Files          94       94              
  Lines        9190     9190              
==========================================
+ Hits         8845     8847       +2     
+ Misses        345      343       -2
Impacted Files Coverage Δ
lib/dialects/postgres/connection-manager.js 95.77% <0%> (+1.4%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 843375f...9a61e9c. Read the comment docs.

Copy link
Member

@papb papb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@papb
Copy link
Member

papb commented Oct 23, 2019

Please make the branch up-to-date with master (rebase or merge master into it)

@papb papb merged commit 7ffa3d4 into sequelize:master Oct 24, 2019
@BigsonLvrocha BigsonLvrocha deleted the update-hook-do-belongs-to-many branch October 24, 2019 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs For issues and PRs. Things related to documentation, such as changes in the manuals / API reference. status: awaiting response For issues and PRs. OP must respond (or change something, if it is a PR). Maintainers have no action

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding a relation in a belongsToMany fires the beforeBulkCreate/afterBulkCreate hook in through model when using add function

2 participants