Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add push() method to save relationships at once #446

Open
girardinsamuel opened this issue Apr 15, 2021 · 0 comments
Open

Add push() method to save relationships at once #446

girardinsamuel opened this issue Apr 15, 2021 · 0 comments
Labels
enhancement A feature that exists, works as intended but needs to be improved medium These issues are geared for people who have contributed to the project before

Comments

@girardinsamuel
Copy link
Contributor

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

@girardinsamuel girardinsamuel added the enhancement A feature that exists, works as intended but needs to be improved label Apr 15, 2021
@josephmancuso josephmancuso added the medium These issues are geared for people who have contributed to the project before label Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature that exists, works as intended but needs to be improved medium These issues are geared for people who have contributed to the project before
Projects
None yet
Development

No branches or pull requests

2 participants