Skip to content
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

mycat支持多列路由吗 #2140

Open
OkJohnSnow opened this issue Mar 5, 2019 · 1 comment
Open

mycat支持多列路由吗 #2140

OkJohnSnow opened this issue Mar 5, 2019 · 1 comment

Comments

@OkJohnSnow
Copy link

应用场景:
订单表按商户ID分64个库,订单ID上有两位表示分库码:01-64。
在有些场景下,查询订单时只能拿到订单ID而没有商户ID。

问题:
怎么能优先使用商户ID路由,在没有商户ID的时候使用订单ID路由

@apachemycat
Copy link
Contributor

#2078

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants