ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 直接删除 > table : 表名 > where : 判断语句数组 ~~~ $where = []; $where[] = '字段值="'.字段值.'"'; $back = $Sql->del($table,$where); ~~~ ***** # 表清空 > table : 表名 ~~~ $back = $Sql->del($table,[],['all'=>1]); ~~~ ***** # 只输出语句 > table : 表名 > where : 判断语句数组 ~~~ $where = []; $where[] = '字段值="'.字段值.'"'; $back = $Sql->del($table,$where,['echo'=>1]); ~~~ ***** # 事务只输出语句 > table : 表名 > where : 判断语句数组 ~~~ $where = []; $where[] = '字段值="'.字段值.'"'; $step[] = $Sql->del($table,$where,['echo'=>1]); ~~~ ***** # 事务输出语句并强制数据变更 > table : 表名 > where : 判断语句数组 ~~~ $where = []; $where[] = '字段值="'.字段值.'"'; $step[] = [$Sql->del($table,$where,['echo'=>1]),'forced'=>1]; ~~~ *****