orm
orm copied to clipboard
Add `push()` method to save relationships at once
Describe the feature as you'd like to see it
If I would like to save a model and all of its associated relationships, I need to do multiple save()
, the push()
method could avoid doing this as in Laravel.
https://laravel.com/docs/8.x/eloquent-relationships#the-push-method