go-gorm / sharding

High performance table sharding plugin for Gorm.
MIT License
272 stars 59 forks source link

feat:support same database has multiple tables with different sharding key #170

Open LiuXinjie29 opened 2 months ago

LiuXinjie29 commented 2 months ago

Supports multiple table sharding with different keys.

jinzhu commented 1 month ago

Please refer to the implementation at https://github.com/go-gorm/dbresolver and avoid making breaking changes.