-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
如何注册不同的shardingkey 分表策略 #62
Comments
描述不够详细,无法解答 |
我有多张不同的表, shardingkey 也不一致, 这个时候当db.USE() 其中一个类型shardingkey的时候, 无法再USE第二个sharding 组件. |
sharding.Register func will be get the same plugin name for sharding,so different sharding-key column could not register successfully when invoking db.USE() |
Not supported now. |
看gorm文档里写的是支持链式注册多shardingkey 分表规则, 怎么现在不支持了。。 |
那事务怎么办呢 |
Your Question
The document you expected this should be explained
Expected answer
Hi,
目前有需求是注册不同类型的shardingkey 切片表, gorm (db.Use()) 如果多次使用相同name的插件会被返回已注册.
请问该如何实现, 谢谢
The text was updated successfully, but these errors were encountered: