Closed hatja closed 4 years ago
Turned out its coz of the package uses $model::saved() for attaching, so it will apply for all the other object that were updated.
I ended up with raw SQL statement for the update, so they wont trigger the saved event.
When i try to update other objects in the boot() of the model, the package attaches the values to all the other objects that was updated too. What i mean
in this case, the selected values will be attached to $someOtherObject too, not only to the newly created one.