sql 语句在 Laravel 中怎么写?
update addresses set default_address = (case when id = 3 then 1 else 0 end) where user_id = 5
这个sql语句在laravel中怎么写?
推荐文章: