laravel DB 更新语句
xuexi 2025-09-17 17:24:24 发表在:PHP 查看数:2
use Illuminate\Support\Facades\DB;

DB::table('users')->where('id', 1)->update(['name' => '新名字', 'email' => 'newemail@example.com']);
最近访问时间:2025-09-17 17:26:53
知识库:381条鸣谢:TAY  备案号:蜀ICP备2024090044号-1