Closed php-liuxh closed 1 week ago
File::queryTable('abc')->queryTableId(12)->queryTypeIn([1,2,3])->delete(); 这样使用有问题吗? 会报错误:delete without condition File::queryTable('abc')->queryTableId(12)->queryTypeIn([1,2,3])->find(); 查询就不会报错 3.0.15版是可以正常删除
请补充详细说明
https://github.com/top-think/think-orm/commit/c18daf3d8089e0f393f2a9474966a04a95fc6118 可以更新到最新版本再试试。
File::queryTable('abc')->queryTableId(12)->queryTypeIn([1,2,3])->delete(); 这样使用有问题吗? 会报错误:delete without condition File::queryTable('abc')->queryTableId(12)->queryTypeIn([1,2,3])->find(); 查询就不会报错 3.0.15版是可以正常删除