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

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