阅读(3240)
赞(7)
Laravel 8 执行 Delete 语句
2021-07-06 17:45:06 更新
delete
方法用于从数据库中删除记录。与 update
方法一样,返回受该执行语句影响的行数:
$deleted = DB::delete('delete from users');
delete
方法用于从数据库中删除记录。与 update
方法一样,返回受该执行语句影响的行数:
$deleted = DB::delete('delete from users');
Copyright©2023 编程论坛编程论坛| 浙ICP备2024059924号-1|
违法和不良信息举报电话:|举报邮箱:569242693@qq.com