Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Why Model method afterFetch dont work if use querybuilder

Hi guys! Why model method afterFetch dont work if use querybuilder? This method just ignoring if you use querybuilder for a create query. But if u use Model::find, he is work.



107.5k
Accepted
answer

Beacause it doesn't return model instance.