🔥 Laravel Tip: Update or create
May 1, 2022
You can use the updateOrCreate method to update a record if it exists or create it if it doesn't.
![tip-image-0](https://res.cloudinary.com/dpmeu3otn/image/upload/v1666556275/tips/f2ceg3ut3denlmgvkclx.jpg)
May 1, 2022