Doctrine\DBAL\Sharding\ShardChoser\ShardChoser
Given a distribution value this shard-choser strategy will pick the shard to connect to for retrieving rows with the distribution value.
- Author: Benjamin Eberlei <kontakt@beberlei.de>
Synopsis
Methods
public
- pickShard() — Pick a shard for the given distribution value