Skip to content

Why deleting model event not fired when use whereIn with pivot query? #33911

Discussion options

You must be logged in to vote

That is because a delete query is not the same as a model delete. It bypasses the model.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MykolaKovrizhnykh
Comment options

Answer selected by GrahamCampbell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants