public ShardingStrategy getDatabaseShardingStrategy ( final TableRule tableRule ) { return null == tableRule . getDatabaseShardingStrategy ( ) ? defaultDatabaseShardingStrategy : tableRule . getDatabaseShardingStrategy ( ) ; }
Get database sharding strategy .