Closed zhoufei666 closed 3 years ago
1.使用ORM 联表查询 2.在joinCondition 里面 and 其它条件,生成的sql 中,缺少 联表 的字符“on” 3.如果手动在joinCondition 里面 拼接 字符 “”on“”,生成的SQL就正确了 附上我的代码信息: 格式化的SQL
我个人认为,即便是joinCondition后跟其它条件,也应该自动生成带on的SQL 不知是设计如此 还是隐形bug
好的,感谢反馈,这边稍后处理下
请提供一下相关表结构。
亲,有表结构吗
该bug已经处理,且发布新版本了。https://github.com/easy-swoole/mysqli/releases/tag/2.2.9
1.使用ORM 联表查询 2.在joinCondition 里面 and 其它条件,生成的sql 中,缺少 联表 的字符“on” 3.如果手动在joinCondition 里面 拼接 字符 “”on“”,生成的SQL就正确了 附上我的代码信息: 格式化的SQL
我个人认为,即便是joinCondition后跟其它条件,也应该自动生成带on的SQL 不知是设计如此 还是隐形bug