Skip to content

Conversation

@dbpolito
Copy link
Contributor

Moving the same note we have on Query Builder Upsert to Eloquent Upsert:

https://laravel.com/docs/9.x/queries#upserts

This took me a while to track down what was the issue 😅

@acidjazz
Copy link

Nice find!

@acidjazz
Copy link

it might be cool if the upsert method detected if the 2nd parameter was specified, and then threw an exception linking to this warning. save people some time.

@taylorotwell taylorotwell merged commit cf6dfa3 into laravel:9.x Feb 25, 2022
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.

3 participants