如何使用where 子句实现updateOrCreate函数。
例如。我只想在某些列包含特定值时更新字段,否则不更新。updateOrCreate函数可以吗?
laravel eloquent
eloquent ×1
laravel ×1