关联操作together()表名不能用驼峰

浏览:299 发布日期:2019/05/06 分类:ThinkPHP5专区
版本5.1.36
这样写没有问题:$article = ArticleModel::get(1, 'commentsA');
$article->together('comments_a')->delete();
这样不行:$article = ArticleModel::get(1, 'commentsA');
$article->together('commentsA')->delete();
最佳答案
评论( 相关
后面还有条评论,点击查看>>