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

[6.0] Return number of inserted rows from insertUsing() #29646

Merged
merged 1 commit into from
Aug 20, 2019
Merged

[6.0] Return number of inserted rows from insertUsing() #29646

merged 1 commit into from
Aug 20, 2019

Conversation

staudenmeir
Copy link
Contributor

As with the new insertOrIgnore() (#29639), I think it's more useful to return the number of inserted rows instead of a boolean success value. If the query fails, you get an exception anyway.

@taylorotwell taylorotwell merged commit 6f2a3b3 into laravel:6.0 Aug 20, 2019
@staudenmeir staudenmeir deleted the insert-using branch August 20, 2019 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants