-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support OR #501
Comments
正在完成新增OR语句的工作,deadline:2018/01/30 |
👍 关注中 |
感谢为sharding-jdbc提供代码,以下是我们这边测试的结果: SELECT * FROM t_order WHERE user_id = ? OR order_id = ? user_id是
我们预期的结果应该是对多个分表查询,而目前仅对t_order_0表进行了查询,这块逻辑有点儿问题,还需要再完善一下。 |
@haocao 谢谢测试和review!我刚重新跑了下单测 结果如下: 能麻烦告诉我,不能多表查询的情况是什么配置吗? |
用仅分表的配置就可以复现,我写了测试用例放到你的分支上了,请查看。 |
问下现在支持or了吗 @wangqisen |
@wangqisen 预计什么时候能正式支持OR语句?关注中... |
fixed at 3.0.0.M1 |
现在支持了吗 |
Please answer these questions before submitting your issue. Thanks!
Which version of Sharding-Jdbc do you using?
1.5.0
Expected behavior
期望支持OR语句
Actual behavior
不支持OR语句
Steps to reproduce the behavior
Please provide the reproduce example codes (such as github link) if possible.
The text was updated successfully, but these errors were encountered: